[issue14781] strptime fails for year 0

2012-05-11 Thread Matthias Meyer
Matthias Meyer added the comment: but ISO 8601 specifies year 0 to be identical with 1 BC. Shouldn't it default to that, then? -- ___ Python tracker <http://bugs.python.org/is

[issue14781] strptime fails for year 0

2012-05-11 Thread Matthias Meyer
New submission from Matthias Meyer : Hi folks, What I did: import time time.strptime('-10-03T15:35:05Z','%Y-%m-%dT%H:%M:%SZ') What I expected: time.struct_time(tm_year=0, tm_mon=10, tm_mday=3, tm_hour=15, tm_min=35, tm_sec=5, tm_wday=2, tm_yday=276, tm_isdst=-1) W