This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Paul Pinterits, martin.panter
Date 2017-04-02.20:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491166626.52.0.902888450105.issue29964@psf.upfronthosting.co.za>
In-reply-to
Content
Are you sure? It works for me:

>>> strptime("+0200", "%z").tm_gmtoff
7200
>>> strptime("+0000", "%z").tm_gmtoff
0

The "struct_time" class is documented as a named tuple, but the time zone offset is not one of the tuple elements, so isn’t going to be checked for equality.
History
Date User Action Args
2017-04-02 20:57:06martin.pantersetrecipients: + martin.panter, Paul Pinterits
2017-04-02 20:57:06martin.pantersetmessageid: <1491166626.52.0.902888450105.issue29964@psf.upfronthosting.co.za>
2017-04-02 20:57:06martin.panterlinkissue29964 messages
2017-04-02 20:57:06martin.pantercreate