[Python-Dev] Add UTC to 2.7 (PyCon sprint idea) (original) (raw)

Brett Cannon brett at python.org
Wed Feb 17 18:49:04 CET 2010


Defaulting to UTC is not a good idea, which is why relevant methods take an argument to specify whether to be UTC (exact details are in the patch; don't remember exact details).

On Feb 16, 2010 4:07 PM, "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote:

Brett Cannon wrote:

Issue 5094 already has a patch that is nearly complete to provide a default... Are you sure it's really a good idea to default to UTC? I thought it was considered a feature that datetime objects are naive unless you explicitly specify a timezone.

-- Greg


Python-Dev mailing list Python-Dev at python.org http:... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100217/101a5d3a/attachment.htm>



More information about the Python-Dev mailing list