Hynek Schlawack <h...@ox.cx> 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: +belopolsky, benjamin.peterson, lemburg
priority: normal -> low
resolution: invalid -> 
stage:  -> needs patch
title: strptime fails for year 0 -> Default to year 1 in strptime if year 0 has 
been specified
type: crash -> enhancement
versions: +Python 3.2, Python 3.3 -Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14781>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to