This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients belopolsky, benno, davidfraser, eric.araujo, georg.brandl, giampaolo.rodola, kiorky, loewis, vstinner
Date 2011-01-08.16:40:31
SpamBayes Score 1.3315515e-11
Marked as misclassified No
Message-id <1294504835.91.0.921305723239.issue1777412@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-01-08 16:40:35vstinnersetrecipients: + vstinner, loewis, georg.brandl, davidfraser, belopolsky, benno, giampaolo.rodola, eric.araujo, kiorky
2011-01-08 16:40:35vstinnersetmessageid: <1294504835.91.0.921305723239.issue1777412@psf.upfronthosting.co.za>
2011-01-08 16:40:31vstinnerlinkissue1777412 messages
2011-01-08 16:40:31vstinnercreate