Author belopolsky
Recipients ajaksu2, belopolsky, brett.cannon, doerwalter, eric.araujo, ggenellina, kawai, mark.dickinson, pitrou, rafe, vstinner
Date 2010-06-04.04:42:44
SpamBayes Score 0.0399961
Marked as misclassified No
Message-id <1275626569.74.0.459968436013.issue5094@psf.upfronthosting.co.za>
In-reply-to
Content
> So you want a third argument that lets you flag if the timezone is DST or not?

The third argument is not a flag, it is a timedelta just like the offset.  I am attaching a python prototype for clarity. (See datetimeex.py.)

Conceptually, a 3-argument timezone is very simple: tzinfo defines three abstract methods: utcoffset(..), tzname(..), and dts(..).  The proposed concrete implementation lets allows the user to provide constant values to be returned from each of these methods.
History
Date User Action Args
2010-06-04 04:42:51belopolskysetrecipients: + belopolsky, doerwalter, brett.cannon, mark.dickinson, ggenellina, pitrou, vstinner, ajaksu2, kawai, eric.araujo, rafe
2010-06-04 04:42:49belopolskysetmessageid: <1275626569.74.0.459968436013.issue5094@psf.upfronthosting.co.za>
2010-06-04 04:42:47belopolskylinkissue5094 messages
2010-06-04 04:42:46belopolskycreate