Here is a practical test case: #!/usr/bin/python import pytz from datetime import datetime tz = pytz.timezone("Pacific/Apia") d2 = datetime(2012,1,1) local = tz.localize(d2) local.dst() print "All is good, NOT hit by bug #885163!"
If you get a backtrace, you are hit by the bug. I will use this case for the SRU process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/885163 Title: pytz dst() incorrectly handles Pacific/Apia day leap To manage notifications about this bug go to: https://bugs.launchpad.net/pytz/+bug/885163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs