A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-November/069952.html below:

[Python-Dev] ready-made timezones for the datetime module

[Python-Dev] ready-made timezones for the datetime module [Python-Dev] ready-made timezones for the datetime module"Martin v. Löwis" martin at v.loewis.de
Sun Nov 12 20:14:47 CET 2006
Fredrik Lundh schrieb:
> I guess I should remember, but what's the rationale for not including 
> even a single concrete "tzinfo" implementation in the standard library?
> 
> not even a UTC class?
> 
> or am I missing something?

If you are asking for a time-zone database, such as pytz
(http://sourceforge.net/projects/pytz/), then I think there
are two reasons for why no such code is included:

a) such a database is not available in standard C, or even
   in POSIX. So it is not possible to provide this functionality
   by wrapping a widely-available library.

b) no code to provide such functionality has been contributed.

Normally, b) would be the bigger issue. In this case, I think
there might also be resistance to including a large database
(as usual when inclusion of some database is proposed).

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4