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 belopolsky
Recipients belopolsky, gvanrossum, jamesh, mark.dickinson, pboddie
Date 2010-06-04.18:34:01
SpamBayes Score 0.0179719
Marked as misclassified No
Message-id <1275676443.64.0.915516764949.issue1647654@psf.upfronthosting.co.za>
In-reply-to
Content
Issue #1667546 is more ambitious than this.  I propose a very simple patch which makes tm_zone and tm_gmtoff available on systems with HAVE_STRUCT_TM_TM_ZONE defined (Linux and BSD variants). The additional fields are only allowed as attributes so len(time.localtime()) is still the same.  This choice allows to get access to extra fields without breaking code that relies on the size of timetuple.

The patch needs documentation updates which I will add if the idea is well received.
History
Date User Action Args
2010-06-04 18:34:03belopolskysetrecipients: + belopolsky, gvanrossum, pboddie, jamesh, mark.dickinson
2010-06-04 18:34:03belopolskysetmessageid: <1275676443.64.0.915516764949.issue1647654@psf.upfronthosting.co.za>
2010-06-04 18:34:01belopolskylinkissue1647654 messages
2010-06-04 18:34:01belopolskycreate