[Python-Dev] tzset
Brett Cannon
drifty@alum.berkeley.edu
Fri, 14 Mar 2003 22:40:16 -0800 (PST)
[Stuart Bishop]
<snip>
> I'm happy to rewrite the detection in configure.in and the test in
> test_time.py to lower the bar on this, but I think a better solution
> may be to determine if Windows has a format that lets us to DST
> calculations and keep the bar high. I was hoping that such a format
> would a) exist and b) Allow translation between the Unix standard of
> Country/Region to whatever-windows-uses.
>
If there is one thing I have learned from writing _strptime is that you
cannot be strict in the slightest for your input when it comes to
time-based data. I think this is another case where you need to be loose
about input and strict with output.
-Brett