[issue5094] datetime lacks concrete tzinfo impl. for UTC

Brett Cannon report at bugs.python.org
Thu Jun 3 00:26:22 CEST 2010


Brett Cannon <brett at python.org> added the comment:

Forgot about datetime breaking the PEP 8 rules. You're right, consistency wins.

As for fixedtimezone being odd, that's why my mind went with FixedOffsetTimezone to start, but that doesn't go with the naming of the module, and fixedoffsettimezone is just hard to read.

As long as the documentation is VERY clear that the timezone class only supports a fixed offset from UTC and nothing else I can live with the "timezone".

----------

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


More information about the Python-bugs-list mailing list