[Python-Dev] TZ-aware local time

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Jun 6 03:57:48 CEST 2012


On Tue, Jun 5, 2012 at 7:11 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> What would be so bad about giving datetime objects
> a DST flag? Apps that don't care could ignore it and
> get results no worse than the status quo.

This would neatly solve the round-trip problem, but will open a
different can of worms: what happens to the dst flag when you add a
timedelta?  If dst flag is optional, should you be able to compare
dst-aware and dst-naive instances?


More information about the Python-Dev mailing list