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 lurchman
Recipients docs@python, lurchman
Date 2014-04-14.18:29:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397500160.88.0.743491348049.issue21221@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for time.struct_time (in Doc/library/time.rst) explains tm_isdst as "0, 1 or -1; see below" but then doesn't really go into further detail below, other than to say "A -1 argument as the daylight savings flag, passed to mktime() will usually result in the correct daylight savings state to be filled in.".

In Modules/timemodule.c there's a section which says:
{"tm_isdst", "1 if summer time is in effect, 0 if not, and -1 if unknown"},

IMHO it would be nice if this more accurate info was also present in the HTML documentation.
History
Date User Action Args
2014-04-14 18:29:20lurchmansetrecipients: + lurchman, docs@python
2014-04-14 18:29:20lurchmansetmessageid: <1397500160.88.0.743491348049.issue21221@psf.upfronthosting.co.za>
2014-04-14 18:29:20lurchmanlinkissue21221 messages
2014-04-14 18:29:20lurchmancreate