[issue14781] Default to year 1 in strptime if year 0 has been specified

2012-05-14 Thread R. David Murray
R. David Murray added the comment: Datetime doesn't support BC. -- nosy: +r.david.murray resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue14781] Default to year 1 in strptime if year 0 has been specified

2012-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14781] Default to year 1 in strptime if year 0 has been specified

2012-05-11 Thread Hynek Schlawack
Hynek Schlawack added the comment: I have to correct myself: It's _not_ what C's strptime does. C's strptime returns via "struct tm" which saves only "years since 1900" in the "tm_year" field. -- ___ Python tracker

[issue14781] Default to year 1 in strptime if year 0 has been specified

2012-05-11 Thread Hynek Schlawack
Hynek Schlawack added the comment: Well, that's what C's strptime does. But that would be a feature request (if it works as documented, it's no bug). :) I've transformed this issue accordingly. But as a feature request, it won't go into 2.7 unless I'm missing something. -- nosy: +bel