Message106255
On Fri, May 21, 2010 at 12:20 PM, Antoine Pitrou <report@bugs.python.org> wrote:
..
> Well, for example, the datetime module encourages you to use "aware" datetime objects (rather than so-called "naive" objects),
> but there isn't a single facility to do so. You must reinvent a whole timezone class from scratch.
This is partially addressed by issue 5094, "datetime lacks concrete
tzinfo impl. for UTC". A more ambitious project would be to add pytz
to stdlib. I believe I've seen this idea discussed and rejected, but
I am not able to find a link to an appropriate thread now. A half-way
project would be to add LocalTimezone given as an example in
http://docs.python.org/dev/py3k/library/datetime.html in addition for
UTC timezone. Any takers? |
|
Date |
User |
Action |
Args |
2010-05-21 16:44:04 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, tim.peters, jribbens, srittau, guettli, amaury.forgeotdarc, tebeka, mark.dickinson, davidfraser, belopolsky, pitrou, andersjm, catlee, vstinner, tomster, werneck, hodgestar, Neil Muller, erik.stephens, steve.roberts |
2010-05-21 16:44:03 | Alexander.Belopolsky | link | issue2736 messages |
2010-05-21 16:44:03 | Alexander.Belopolsky | create | |
|