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.

作者 jribbens
收信人 guettli, jribbens, skip.montanaro, tim.peters
日期 2007-09-02.14:03:09
SpamBayes Score 0.17250983
Marked as misclassified
Message-id <1188741790.25.0.67967017151.issue1673409@psf.upfronthosting.co.za>
In-reply-to
内容
Almost everything you just said about time_t is wrong. time_t is signed,
and always has been (otherwise the 'end of time' for 32-bit time_t would
be 2106, not 2038). Also, time_t does not end at 2038 because nothing
says it must be 32 bits. Also, Python has 'long integers' which do not
overflow.

Also, I don't understand what you mean about use cases. The "use case"
is "dealing with anything which expects standard Unix time_t, for
example the Python standard library". The use case I have personally is
the program I was working on when I encountered the problem described in
this bug report. Also I think symmetry is a darn good argument. Why does
fromtimestamp exist if, as you claim, nobody uses time_t?
历史
日期 用户 动作 参数
2007-09-02 14:03:10jribbens修改spambayes_score: 0.17251 -> 0.17250983
recipients: + jribbens, tim.peters, skip.montanaro, guettli
2007-09-02 14:03:10jribbens修改spambayes_score: 0.17251 -> 0.17251
messageid: <1188741790.25.0.67967017151.issue1673409@psf.upfronthosting.co.za>
2007-09-02 14:03:10jribbens链接issue1673409 messages
2007-09-02 14:03:09jribbens创建