[issue10563] Spurious newline in time.ctime
Alexander Belopolsky
report at bugs.python.org
Mon Nov 29 04:19:10 CET 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
This looks like a bug in the underlying platform. POSIX requires [1] that the output of ctime() fits in a 26-character buffer. Note that a change has been recently made to time.asctime() to reject year > 9999. See r85137 and issue6608. I think for consistency, we should reject huge timestamps in time ctime() as well.
[1] http://www.opengroup.org/onlinepubs/009695399/functions/ctime.html
----------
nosy: +belopolsky
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10563>
_______________________________________
More information about the Python-bugs-list
mailing list