This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author patrick.vrijlandt
Recipients Ramchandra Apte, belopolsky, flox, patrick.vrijlandt, tim.golden, vstinner
Date 2011-12-30.10:42:41
SpamBayes Score 8.65974e-15
Marked as misclassified No
Message-id <1325241762.25.0.689061865979.issue13674@psf.upfronthosting.co.za>
In-reply-to
Content
Somewhere in the code is also/still a seperate check concerning strftime:

PythonWin 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
>>> import datetime
>>> datetime.datetime(-1, 1, 1)
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
ValueError: year is out of range
>>> datetime.datetime(0, 1, 1)
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
ValueError: year is out of range
>>> datetime.datetime(1, 1, 1)
datetime.datetime(1, 1, 1, 0, 0)
>>> datetime.datetime(1, 1, 1).strftime("Y")
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
ValueError: year=1 is before 1000; the datetime strftime() methods require year >= 1000
>>>
History
Date User Action Args
2011-12-30 10:42:42patrick.vrijlandtsetrecipients: + patrick.vrijlandt, belopolsky, vstinner, tim.golden, flox, Ramchandra Apte
2011-12-30 10:42:42patrick.vrijlandtsetmessageid: <1325241762.25.0.689061865979.issue13674@psf.upfronthosting.co.za>
2011-12-30 10:42:41patrick.vrijlandtlinkissue13674 messages
2011-12-30 10:42:41patrick.vrijlandtcreate