Message150395
| 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:24 | terry.reedy | set | recipients:
+ terry.reedy, belopolsky, docs@python, steveire |
| 2011年12月30日 21:29:24 | terry.reedy | set | messageid: <1325280564.03.0.0625931300517.issue13666@psf.upfronthosting.co.za> |
| 2011年12月30日 21:29:23 | terry.reedy | link | issue13666 messages |
| 2011年12月30日 21:29:23 | terry.reedy | create |
|