Author belopolsky
Recipients Neil Muller, amaury.forgeotdarc, andersjm, barry, belopolsky, cameron, catlee, davidfraser, eric.araujo, erik.stephens, guettli, hodgestar, jamesh, jcea, jribbens, loewis, mark.dickinson, ncoghlan, pboddie, pitrou, python-dev, r.david.murray, rhettinger, steve.roberts, techtonik, tim.peters, tomster, vstinner, werneck
Date 2012-06-22.19:39:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7h-xYxHFGfugfNA3KAevqqmC3bFd=Sgzi+6EEx1ZitMHv-yw@mail.gmail.com>
In-reply-to <1340393769.13.0.256711082104.issue9527@psf.upfronthosting.co.za>
Content
Working on this.  It turns out tm_gmtoff uses the opposite sign to
that of timezone in time.h.  For more confusion, consider this:

$ TZ=EST+5 date +%z
-0500

I am rechecking all UTC offset signs.

On Fri, Jun 22, 2012 at 3:36 PM, Jesús Cea Avión <report@bugs.python.org> wrote:
>
> Jesús Cea Avión <jcea@jcea.es> added the comment:
>
> This patch breaks OpenIndiana buildbots. For instance
>
> http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.x/builds/3810/steps/test/logs/stdio
>
> """
> FAIL: test_astimezone_default_eastern (test.datetimetester.TestDateTimeTZ_Pure)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/support.py", line 1139, in inner
>    return func(*args, **kwds)
>  File "/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Lib/test/datetimetester.py", line 3286, in test_astimezone_default_eastern
>    self.assertEqual(local.strftime("%z %Z"), "+0500 EST")
> AssertionError: '-0500 EST' != '+0500 EST'
> - -0500 EST
> ? ^
> + +0500 EST
> ? ^
> """
>
> ----------
> nosy: +jcea
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue9527>
> _______________________________________
History
Date User Action Args
2012-06-22 19:39:25belopolskysetrecipients: + belopolsky, tim.peters, loewis, barry, jribbens, rhettinger, jcea, pboddie, jamesh, guettli, amaury.forgeotdarc, mark.dickinson, ncoghlan, davidfraser, pitrou, andersjm, catlee, vstinner, techtonik, tomster, werneck, hodgestar, Neil Muller, cameron, eric.araujo, erik.stephens, steve.roberts, r.david.murray, python-dev
2012-06-22 19:39:24belopolskylinkissue9527 messages
2012-06-22 19:39:24belopolskycreate