[issue22799] wrong time.timezone

2016-09-14 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- superseder: -> Document time module constants (timezone, tzname, etc.) as deprecated. ___ Python tracker

[issue22799] wrong time.timezone

2016-09-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Closing. See #22798 for the reasons why synchronizing C variables with the time module constants is not a solution. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue22799] wrong time.timezone

2015-01-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Isn't this a duplicate of #13466? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22799 ___ ___

[issue22799] wrong time.timezone

2015-01-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22799 ___ ___

[issue22799] wrong time.timezone

2015-01-28 Thread Akira Li
Akira Li added the comment: Isn't this a duplicate of #13466? In what way is it a duplicate? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22799 ___

[issue22799] wrong time.timezone

2015-01-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Please take a look at msg148208. I agree with MAL that time module globals timezone and daylight should be deprecated in favor of tm_gmtoff or datetime.astimezone(). -- ___ Python tracker

[issue22799] wrong time.timezone

2015-01-28 Thread Akira Li
Akira Li added the comment: I agree that time.timezone, time.altzone is not enough in the general case. Because UTC offset may be different at different dates for reasons unrelated to DST transitions therefore any solution that doesn't take into account a given date/time into account will

[issue22799] wrong time.timezone

2014-11-27 Thread Akira Li
Akira Li added the comment: This issue could be fixed using sync-time-timezone-attr-with-c.diff patch from http://bugs.python.org/issue22798 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22799

[issue22799] wrong time.timezone

2014-11-05 Thread Akira Li
New submission from Akira Li: $ TZ=:Europe/Moscow ./python -mtest -v test_time == FAIL: test_localtime_timezone (test.test_time.TestPytime) -- Traceback