[Python-Dev] Stdlib and timezones, again (original) (raw)
Ethan Furman ethan at stoneleaf.us
Mon Oct 1 22:17:21 CEST 2012
- Previous message: [Python-Dev] Stdlib and timezones, again
- Next message: [Python-Dev] benchmarks: Force map to a list to guarantee the calculations are performed under
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Matthias Klose wrote:
On 30.09.2012 20:18, Gregory P. Smith wrote:
priority: 1) api call supplying tz data to the process. 2) pytzdata module if it exists 3) tz data from the underlying operating system 4) error. I disagree on this order, at least for Linux systems. the tzdata database is well managed on major Linux distributions and should be used for this reason.
The order exists this way to allow for customization. If I have 1) downloaded the most recent, or 2) made customizations (for whatever reason) then Python needs to use it.
Can I break stuff this way? Sure. Is it Python's responsibility to stop me? Nope. Consenting adults, and all that.
Ethan
- Previous message: [Python-Dev] Stdlib and timezones, again
- Next message: [Python-Dev] benchmarks: Force map to a list to guarantee the calculations are performed under
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]