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

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Feb 16 22:50:31 CET 2010


Brett Cannon wrote:
> Issue 5094 already has a patch that is nearly complete to provide a
> default UTC object (and requisite changes to functions to no longer be
> naive but to use UTC).

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


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /