[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-03-20 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d56eb817b181 by Victor Stinner in branch '3.2': Issue #10864 has been fixed: remove the workaround http://hg.python.org/cpython/rev/d56eb817b181 -- nosy: +python-dev ___ Python tracker

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: On my Mac it displays 12345. I don't see that as a big problem. It raises ValueError for a year of -1. This is with build py3k:87566. If someone wants to feed a year to time.strftime I don't see that as a big problem. I less sure about

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Let's try r87850. I'm now waiting for the buildbot. The test pass on both OpenIndiana buildbots, so I close the issue. On my Mac it displays 12345. I don't see that as a big problem. Why do you say problem? It is the correct

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10864 ___

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Skip On my Mac it displays 12345. I don't see that as a big problem. haypo Why do you say problem? It is the correct result :-) I agree. I interpreted your ticket as complaining that it should raise a ValueError if year :

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Le samedi 08 janvier 2011 à 17:02 +, Skip Montanaro a écrit : I agree. I interpreted your ticket as complaining that it should raise a ValueError if year : Only on OpenIndiana because on this specific OS, %Y only

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-07 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: The following example displays '2345' instead of '12345': import time t = (12345,) + (0,)*8 print(repr(time.strftime(%Y, t))) time.strftime() should raise a ValueError if the year is bigger than , as it is done with Visual

[issue10864] time.strftime(%Y): limitation of 4 digits on OpenIndiana (Solaris)

2011-01-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Oh, it's more funny with negative numbers: -1 is formatted '000/'. Let's try r87850. I'm now waiting for the buildbot. -- ___ Python tracker rep...@bugs.python.org