[issue22791] datetime.utcfromtimestamp() shoud have option for create tz aware datetime

Alexander Belopolsky report at bugs.python.org
Sun Nov 9 04:57:00 CET 2014


Alexander Belopolsky added the comment:

I personally wish we could deprecate utcfromtimestamp.  With timezone.utc in stdlib and being a singleton there is no reason to put UTC time in naive datetime instances.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22791>
_______________________________________


More information about the Python-bugs-list mailing list