Message125725
After r87829 (see issue10827), the insane Y2K behavior of time module functions does not extend beyond year 999. Hopefully in Python 3.3, accept2dyear will be removed completely and datetime.strftime() will be able to support the full intersection of platform year range with that of datetime type. Meanwhile, I propose a simple patch that lowers the 1900 limit down to 1000. I was not able to find any evidence that there are platforms that have issues with formatting years between 1000 and 1899.
Are there any objections to committing this patch? I will monitor the build bots if I see failures, I'll modify the test and/or add a platform-specific check to fix them. |
|
Date |
User |
Action |
Args |
2011-01-07 22:59:49 | belopolsky | set | recipients:
+ belopolsky, loewis, georg.brandl, davidfraser, benno, vstinner, giampaolo.rodola, eric.araujo, kiorky |
2011-01-07 22:59:49 | belopolsky | set | messageid: <1294441189.56.0.301640685718.issue1777412@psf.upfronthosting.co.za> |
2011-01-07 22:59:33 | belopolsky | link | issue1777412 messages |
2011-01-07 22:59:33 | belopolsky | create | |
|