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.

作者 srittau
收信人 amaury.forgeotdarc, belopolsky, brett.cannon, catlee, erik.stephens, guettli, jribbens, lemburg, pitrou, skip.montanaro, srittau, steve.roberts, tim.peters, tomster, vstinner
日期 2008-12-15.13:14:11
SpamBayes Score 4.081179e-07
Marked as misclassified
Message-id <1229346852.46.0.0446612434358.issue1673409@psf.upfronthosting.co.za>
In-reply-to
内容
Leap second handling is usually configurable. Default on Debian Linux
(but similar on RHEL and SuSE):

>>> int(date(1994,1,1).strftime("%s")) - int(date(1993,1,1).strftime("%s"))
31536000

After doing "cp /usr/share/zoneinfo/right/Europe/Berlin /etc/localtime":

>>> int(date(1994,1,1).strftime("%s")) - int(date(1993,1,1).strftime("%s"))
31536001

Also, NTP servers usually get this right. I don't think, Python should
promote a wrong date handling by default, even if it's convenient.
历史
日期 用户 动作 参数
2008-12-15 13:14:12srittau修改recipients: + srittau, lemburg, tim.peters, skip.montanaro, brett.cannon, jribbens, guettli, amaury.forgeotdarc, belopolsky, pitrou, catlee, vstinner, tomster, erik.stephens, steve.roberts
2008-12-15 13:14:12srittau修改messageid: <1229346852.46.0.0446612434358.issue1673409@psf.upfronthosting.co.za>
2008-12-15 13:14:11srittau链接issue1673409 messages
2008-12-15 13:14:11srittau创建