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 tim.peters
Recipients belopolsky, tim.peters
Date 2018-06-09.00:17:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528503462.17.0.592728768989.issue33812@psf.upfronthosting.co.za>
In-reply-to
Content
The message isn't confusing - the definition of "aware" is confusing ;-)

"""
A datetime object d is aware if d.tzinfo is not None and d.tzinfo.utcoffset(d) does not return None. If d.tzinfo is None, or if d.tzinfo is not None but d.tzinfo.utcoffset(d) returns None, d is naive.
"""
History
Date User Action Args
2018-06-09 00:17:42tim.peterssetrecipients: + tim.peters, belopolsky
2018-06-09 00:17:42tim.peterssetmessageid: <1528503462.17.0.592728768989.issue33812@psf.upfronthosting.co.za>
2018-06-09 00:17:42tim.peterslinkissue33812 messages
2018-06-09 00:17:41tim.peterscreate