[issue9013] Implement tzinfo.dst() method in timezone

2010-10-14 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: After thinking some more about this issue, I am going to withdraw this proposal. If we want to support storing dst flag in datetime instances, it should be stored in the datetime object itself, not in tzinfo. See http://mail.python.org/pipermail/pyth

[issue9013] Implement tzinfo.dst() method in timezone

2010-06-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +datetime lacks concrete tzinfo implementation for UTC nosy: +brett.cannon, mark.dickinson ___ Python tracker ___ __

[issue9013] Implement tzinfo.dst() method in timezone

2010-06-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : This idea was brought in the original fixed offset timezone proposal (see issue 5094), but was met with some opposition. See msg106914, point 2. As a result, the timezone implementation is in conflict with tzinfo documentation that says "If utcoffset