[Python-Dev] Stdlib and timezones, again

Antoine Pitrou solipsis at pitrou.net
Sun Sep 30 23:43:25 CEST 2012


On Mon, 01 Oct 2012 00:28:41 +0300
Serhiy Storchaka <storchaka at gmail.com> wrote:
> On 30.09.12 22:51, Antoine Pitrou wrote:
> > Well, no, this isn't similar. Choosing one's timezone policies is a
> > contemporary political decision, while choosing a language and its
> > alphabet is not really a decision people ever make (it's just an aspect
> > of a society's long-term evolution) - except Atatürk, perhaps :-)
> 
> Oh, no. Choosing of alphabet (and sometimes language) is also a 
> contemporary political decision. For the last 25 years new letter Ґ has 
> been added to the Ukrainian alphabet, and the letter Ь changed its place 
> in the alphabet.

Well, yeah, but it's not like you can do it on a whim either, and you
can't change the large body of existing text.

> Who will update the database? The developer which distributes the 
> application with embedded Python can forget about the tz updates, as 
> well as about non-ascii encodings. Native Unicode support in Python 
> makes the second error less likely.
> 
> Why not use the system data which are updated by the OS? I know that 
> Windows also changes the clock for local DST.

If that's possible, then it sounds the ideal solution indeed.

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net




More information about the Python-Dev mailing list