Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
434d27a4
Commit
434d27a4
authored
Nov 23, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge heads
parents
be0c3250
0da64f7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Lib/test/test_strftime.py
Lib/test/test_strftime.py
+3
-1
Misc/NEWS
Misc/NEWS
+4
-0
No files found.
Lib/test/test_strftime.py
View file @
434d27a4
...
...
@@ -183,8 +183,10 @@ class Y1900Tests(unittest.TestCase):
"""
def
test_y_before_1900
(
self
):
# Issue #13674, #19634
t
=
(
1899
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
)
if
sys
.
platform
==
"win32"
or
sys
.
platform
.
startswith
(
"aix"
):
if
(
sys
.
platform
==
"win32"
or
sys
.
platform
.
startswith
((
"aix"
,
"sunos"
,
"solaris"
))):
with
self
.
assertRaises
(
ValueError
):
time
.
strftime
(
"%y"
,
t
)
else
:
...
...
Misc/NEWS
View file @
434d27a4
...
...
@@ -85,6 +85,10 @@ Library
-
Issue
#
19673
:
Add
pathlib
to
the
stdlib
as
a
provisional
module
(
PEP
428
).
-
Issue
#
16596
:
pdb
in
a
generator
now
properly
skips
over
yield
and
yield
from
rather
than
stepping
out
of
the
generator
into
its
caller
.
(
This
is
essential
for
stepping
through
asyncio
coroutines
.)
-
Issue
#
17916
:
Added
dis
.
Bytecode
.
from_traceback
()
and
dis
.
Bytecode
.
current_offset
to
easily
display
"current instruction"
markers
in
the
new
disassembly
API
(
Patch
by
Claudiu
Popa
).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment