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.

作者 davidfraser
收信人 benno, davidfraser, loewis, skip.montanaro
日期 2008-05-10.20:41:45
SpamBayes Score 0.16198638
Marked as misclassified
Message-id <1210452108.67.0.346434534295.issue1777412@psf.upfronthosting.co.za>
In-reply-to
内容
> Which version of Python are you using?  I could have sworn we just fixed
this problem in CVS a couple weeks ago.
This was on the latest Python 2.6 svn... but looking at the py3k branch
with viewsvn the code is definitely still there too...

The relevant commit seems to be r30224 in 2002:
> I give up:  unless I write my own strftime by hand, datetime just can't
be trusted with years before 1900, so now we raise ValueError if a date or
datetime or datetimetz .strftime() method is called with a year before
1900.

Of course I'm not dealing with any of this in the attached patch, but
then I don't have the information on which platforms have the problem...
but according to the above writing strftime by hand would be the only
solution...
历史
日期 用户 动作 参数
2008-05-10 20:41:49davidfraser修改spambayes_score: 0.161986 -> 0.16198638
recipients: + davidfraser, loewis, skip.montanaro, benno
2008-05-10 20:41:48davidfraser修改spambayes_score: 0.161986 -> 0.161986
messageid: <1210452108.67.0.346434534295.issue1777412@psf.upfronthosting.co.za>
2008-05-10 20:41:48davidfraser链接issue1777412 messages
2008-05-10 20:41:46davidfraser创建