Author Mandar Gokhale
Recipients Mandar Gokhale, SilentGhost, Trundle, belopolsky, georg.brandl, ned.deily, sandro.tosi, vstinner, wsanchez
Date 2016-02-10.04:07:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
[Strictly speaking, this is actually issue #10563, but that was marked superseded by the changes for this issue, hence the comment here.]

The 5-digit year still displays an extra newline in Python 2.7.11 (there's extra whitespace on OSX as well, but that seems to due to the fact that ctime() returns 30 bytes on OSX instead of the documented 26):

{~}$ /usr/local/bin/python
Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.ctime(253402300799)
'Fri Dec 31 23:59:59 9999'
>>> time.ctime(253402300800)
'Sat Jan  1 00:00:00     10000\n'

...and, as far as I can see, the patch hasn't been applied to py2.7 yet (

Please let me know if I am missing something obvious (I'm pretty new to the bugtracker), or if this issue is planned not to be fixed for versions < 3.0. 

If not, should this issue be reopened, or the py27-specific problem be migrated to a new issue?
Date User Action Args
2016-02-10 04:07:55Mandar Gokhalesetrecipients: + Mandar Gokhale, georg.brandl, belopolsky, wsanchez, vstinner, ned.deily, Trundle, SilentGhost, sandro.tosi
2016-02-10 04:07:55Mandar Gokhalesetmessageid: <>
2016-02-10 04:07:55Mandar Gokhalelinkissue8013 messages
2016-02-10 04:07:54Mandar Gokhalecreate