Message125792
time.asctime(), time.ctime() and time.strftime() are no more not limited for the year field if accept2dyear=0. Except with Visual Studio or on Solaris: the year is limited to the range [1; 9999].
datetime.strftime() is limited to year >= 1000 (instead of year >= 1900) because it cannot set accept2dyear=0 temporary (it is no thread safe). We might fix it, but it is complex and not really needed. The correct fix is just to remove accept2dyear (and consider that accept2dyear=0), which cannot be done before Python 3.3.
Anyway, the situation is much better in Python 3.2 than Python 3.1, and I consider that it's enough. Let's close the issue. |
|
Date |
User |
Action |
Args |
2011-01-08 16:40:35 | vstinner | set | recipients:
+ vstinner, loewis, georg.brandl, davidfraser, belopolsky, benno, giampaolo.rodola, eric.araujo, kiorky |
2011-01-08 16:40:35 | vstinner | set | messageid: <1294504835.91.0.921305723239.issue1777412@psf.upfronthosting.co.za> |
2011-01-08 16:40:31 | vstinner | link | issue1777412 messages |
2011-01-08 16:40:31 | vstinner | create | |
|