[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
- Previous message: [Python-Dev] embedding Python interpreter in non-console windows application
- Next message: [Python-Dev] [issue2636] Regexp 2.7 (modifications to current re 2.2.2)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] embedding Python interpreter in non-console windows application
- Next message: [Python-Dev] [issue2636] Regexp 2.7 (modifications to current re 2.2.2)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]