homepage

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 terry.reedy
Recipients belopolsky, docs@python, steveire, terry.reedy
Date 2011年12月30日.21:29:23
SpamBayes Score 0.008232708
Marked as misclassified No
Message-id <1325280564.03.0.0625931300517.issue13666@psf.upfronthosting.co.za>
In-reply-to
Content
2.6 only gets security updates.
I verified 'rzinfo' typo in x.1.6 in 2.7 and 3.2. Also in both, tzinfo.utcoffset begins as Stephen claims. I have not verified that this is error.
 Also in both, in x.1.4, class GMT1 has
... def utcoffset(self, dt):
... return timedelta(hours=1) + self.dst(dt)
... def dst(self, dt):
... if self.dston <= dt.replace(tzinfo=None) < self.dstoff:
... return timedelta(hours=1)
... else:
... return timedelta(0)
while GMT2 has
... def utcoffset(self, dt):
... return timedelta(hours=1) + self.dst(dt)
... def dst(self, dt):
... if self.dston <= dt.replace(tzinfo=None) < self.dstoff:
... return timedelta(hours=2)
... else:
... return timedelta(0)
Stephen is saying that 'hours=1' should here be 'hours=2'. Should '0' by 'hours=1' to be just 1 off from 2?
History
Date User Action Args
2011年12月30日 21:29:24terry.reedysetrecipients: + terry.reedy, belopolsky, docs@python, steveire
2011年12月30日 21:29:24terry.reedysetmessageid: <1325280564.03.0.0625931300517.issue13666@psf.upfronthosting.co.za>
2011年12月30日 21:29:23terry.reedylinkissue13666 messages
2011年12月30日 21:29:23terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /