Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
On Fri, May 21, 2010 at 12:20 PM, Antoine Pitrou <rep...@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? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com