Author belopolsky
Recipients SilentGhost, belopolsky, vstinner
Date 2011-01-04.16:48:19
SpamBayes Score 0.00945875
Marked as misclassified No
Message-id <1294159712.85.0.42147185487.issue10827@psf.upfronthosting.co.za>
In-reply-to
Content
"""
> http://docs.python.org/library/time.html#time-y2kissues
> "Values 100–1899 are always illegal."

Why are these values illegal? The GNU libc accepts year in [1900-2^31; 2^31-1] (tm_year in [-2147483648; 2147481747]). If time.accept2dyear=False, we should at least accept years in [1; 9999]. The system libc would raise an error (return NULL) if it doesn't know how to format years older than 1900.
""" -- Victor Stinner at msg12516
History
Date User Action Args
2011-01-04 16:48:32belopolskysetrecipients: + belopolsky, vstinner, SilentGhost
2011-01-04 16:48:32belopolskysetmessageid: <1294159712.85.0.42147185487.issue10827@psf.upfronthosting.co.za>
2011-01-04 16:48:19belopolskylinkissue10827 messages
2011-01-04 16:48:19belopolskycreate