[issue9798] time.tzset() doesn't properly reset the time.timezone variable

Éric Araujo report at bugs.python.org
Wed Sep 8 15:42:26 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

The name “timezone” you imported in test-timezone is bound to the object that was bound to time.timezone at the time of import. When time.timezone is bound to a new object, test-timezone.timezone does not change.

----------
nosy: +eric.araujo
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9798>
_______________________________________


More information about the Python-bugs-list mailing list