STINNER Victor <victor.stin...@gmail.com> added the comment: > asctime() docs say it's a 24 char string.
I'm not sure that all platform conform to this "specification"... which is not future proof! $ ./python Python 3.3.0a0 (default:af1a9508f7fa, Feb 14 2012, 01:18:15) [GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux >>> import time >>> time.ctime(2**38) 'Wed Jul 14 08:09:04 10680' >>> len(time.ctime(2**38)) 25 I suppose that you can say that the month day is formatted as 2 characters (padded with a space if needed). ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13927> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com