homepage

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 apalala
Recipients apalala, cblp, vinay.sajip
Date 2012年07月03日.12:50:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341319832.1.0.469023365452.issue14902@psf.upfronthosting.co.za>
In-reply-to
Content
@Vinay The test *is* broken in theory, because it uses today's time.timezone to make calculations over a datetime in the past (1993), even when official time zones have changes in recent years for Caracas, Moscow, and others: http://www.timeanddate.com/news/time/. As it is, the test will pass on some locations and fail on others, even if time.timezone is correct.
If time.timezone is wrong for certain locations is a separate issue that I will post as soon as I complete the unit test. I took a look at Modules/timemodule.c,and there seems to be nothing wrong there.
In short, the bug is: test_time() incorrectly uses the current time.timezone to make calculations over dates in the past.
History
Date User Action Args
2012年07月03日 12:50:32apalalasetrecipients: + apalala, vinay.sajip, cblp
2012年07月03日 12:50:32apalalasetmessageid: <1341319832.1.0.469023365452.issue14902@psf.upfronthosting.co.za>
2012年07月03日 12:50:31apalalalinkissue14902 messages
2012年07月03日 12:50:31apalalacreate

AltStyle によって変換されたページ (->オリジナル) /