On 10/1/2012 12:39 PM, Lennart Regebro wrote:
On Mon, Oct 1, 2012 at 6:21 PM, Larry Hastings <la...@hastings.org
<mailto:la...@hastings.org>> wrote:
On 10/01/2012 04:29 PM, Barry Warsaw wrote:
Using the script I mentioned in an different response, if someone installed
the database to some location (TBD), then there would probably be a config
file sitting next to it. A simple .ini file with an 'enable' flag would be
needed to turn on the override.
Perhaps said config file could also contain the timestamp of the tz
database? Then we could intelligently choose the most currentest one.
The most current one is likely to be the one provided by the operating
system, which does not contain any .ini file, nor, as far as I can tell,
any information about the database version or any timestamps.
But Windows does not provide one, or at least, the proposal seems to be
not use whatever it does have. I think your PEP should propose one api
but conditional tz db access code for systems with and without the tz db
already provided.
--
Terry Jan Reedy
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com