[Bug 564607] Re: timemodule.c: Python loses current timezone

dino99 564607 at bugs.launchpad.net
Sun May 3 13:35:52 UTC 2015


Support for this version has ended

** Changed in: python2.6 (Ubuntu)
       Status: New => Invalid

** Changed in: python
   Importance: Unknown => Undecided

** Changed in: python
 Remote watch: Python Roundup #762963 => None

** Changed in: python
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/564607

Title:
  timemodule.c: Python loses current timezone

Status in Python:
  Invalid
Status in python2.6 package in Ubuntu:
  Invalid

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://bugs.python.org/issue762963 and has a patch (and a
  test) that needs a review.

  I think I reproduced this by:
  $ python
  >>>import time
  >>>time.strftime("%Z", time.localtime())
  'PDT'
  >>>time.strftime("%z", time.localtime())
  '+0000'

To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/564607/+subscriptions



More information about the foundations-bugs mailing list