[Python-Dev] datetime module and pytz with dateutil (original) (raw)
Andrew Svetlov andrew.svetlov at gmail.com
Fri Mar 30 15:05:23 CEST 2012
- Previous message: [Python-Dev] datetime module and pytz with dateutil
- Next message: [Python-Dev] datetime module and pytz with dateutil
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I filed the http://bugs.python.org/issue14448 BTW.
On Fri, Mar 30, 2012 at 3:47 PM, R. David Murray <rdmurray at bitdance.com> wrote:
On Fri, 30 Mar 2012 13:38:13 +0300, Serhiy Storchaka <storchaka at gmail.com> wrote:
28.03.12 23:20, Andrew Svetlov написав(ла): > I figured out what pytz and dateutil are not mentioned in python docs > for datetime module. > It's clean why these libs is not a part of Python Libraries — but > that's not clean for Docs.
I don't understand why Python may not include the pytz. The Olson tz database is not part of pytz. Python can depend on a system tz database, as it depends on libssl or libbz2, which also can be updated (for security reasons) independently. There is an extensive discussion of this somewhere in the archives of this list. If I remember correctly, it boils down to the fact that pytz does bundle the database, and that Windows either does not have or does not regularly update its own Olson database. Rather than ship something out-of-date, we choose to put the onus on the user to ensure that the appropriate code+db exists on their system. Hopefully someone will correct me if I'm wrong, and/or find a pointer to the relevant thread. --David
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/andrew.svetlov%40gmail.com
-- Thanks, Andrew Svetlov
- Previous message: [Python-Dev] datetime module and pytz with dateutil
- Next message: [Python-Dev] datetime module and pytz with dateutil
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]