[Python-Dev] datetime module and pytz with dateutil

Michael Foord fuzzyman at voidspace.org.uk
Sat Mar 31 12:28:55 CEST 2012


On 31 Mar 2012, at 07:32, Lennart Regebro wrote:
> On Fri, Mar 30, 2012 at 12:38, Serhiy Storchaka <storchaka at gmail.com> wrote:
>> I don't understand why Python may not include the pytz. The Olson tz
>> database is not part of pytz.
>> Yes it is.
>>> Python can depend on a system tz database
>> That works on Unix, but not on Windows, where there is no Olsen database.

*However*, doesn't Windows have its own system database? The problem is that in order to not include the olsen database, pytz (which would be a very useful addition to the standard library) would need to be modified to use the system database on Windows. This is my (potentially flawed) understanding, anyway.
Michael
>> //Lennart
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk
>
--
http://www.voidspace.org.uk/
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing 
http://www.sqlite.org/different.html


More information about the Python-Dev mailing list

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