timemodule.c: Python loses current timezone
Bug #564607 reported by
Grant Bowman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Invalid
|
Undecided
|
Unassigned | ||
python2.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.6
Python routines in timemodule.c sometimes force glibc to use GMT instead of the correct timezone.
PHP and Perl don't have this bug. This has been filed upstream since 2003 as http://
I think I reproduced this by:
$ python
>>>import time
>>>time.
'PDT'
>>>time.
'+0000'
Upstream tracker is still testing the patch and there seems to be some issues, we'll wait until it gets accepted or confirmed perfect before getting the fix in.