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 belopolsky
Recipients belopolsky, tim.peters
Date 2018-06-09.03:00:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528513252.62.0.592728768989.issue33812@psf.upfronthosting.co.za>
In-reply-to
Content
So you are suggesting that my datetime(2000,1,1,tzinfo=TZ()) should behave as a naive instance, right?  Well, this would be a third behavior different from both current C and Python implementations:

>>> print(datetime(2000,1,1).astimezone(timezone.utc))
2000-01-01 05:00:00+00:00

(I am in US/Eastern timezone.)
History
Date User Action Args
2018-06-09 03:00:52belopolskysetrecipients: + belopolsky, tim.peters
2018-06-09 03:00:52belopolskysetmessageid: <1528513252.62.0.592728768989.issue33812@psf.upfronthosting.co.za>
2018-06-09 03:00:52belopolskylinkissue33812 messages
2018-06-09 03:00:52belopolskycreate