[issue5094] datetime lacks concrete tzinfo implementation for UTC

Éric Araujo report at bugs.python.org
Tue Jun 15 20:02:32 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

.. method:: datetime.utcoffset()

   Return ``None`` if :attr:`tzinfo` is ``None``, else else return ...

That said, to keep diffs readable, perhaps stick with the existing
convention know, and later a PEP 257 compliance diff can be made.

----------

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


More information about the Python-bugs-list mailing list