[issue10563] Spurious newline in time.ctime

Gerrit Holl report at bugs.python.org
Sun Nov 28 16:47:20 CET 2010


New submission from Gerrit Holl <topjaklont at gmail.com>:

When the time passed to time.ctime is large, it adds a newline:

>>> import time
>>> time.ctime(2<<36)
'Wed Apr  8 17:04:32 6325'
>>> time.ctime(2<<37)
'Wed Jul 14 08:09:04 10680\n'

----------
components: Library (Lib)
messages: 122665
nosy: Gerrit.Holl
priority: normal
severity: normal
status: open
title: Spurious newline in time.ctime
versions: Python 2.6, Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10563>
_______________________________________


More information about the Python-bugs-list mailing list