pytz2007c error

looping kadeko at
Tue Mar 6 09:51:55 CET 2007

Why this error ?

>>> from pytz import timezone
>>> eastern = timezone('US/Eastern')
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "C:\Python25\lib\site-packages\pytz-2007c-py2.5.egg\pytz
\", line 93, in timezone
  File "C:\Python25\lib\site-packages\pytz-2007c-py2.5.egg\pytz
\", line 33, in build_tzinfo
    for trans in data[:timecnt]]
  File "C:\Python25\lib\site-packages\pytz-2007c-py2.5.egg\pytz
\", line 27, in memorized_datetime
    dt = datetime.utcfromtimestamp(seconds)
ValueError: timestamp out of range for platform localtime()/gmtime()

I'm running python 2.5 on WinXP French with the egg from CheeseShop.

Same error with all timezone (like timezone('Europe/Zurich'),
timezone('Europe/Amsterdam'), ...) except a few one:
>>> print timezone('UTC')

Is this a pytz problem or something I didn't understand ?

More information about the Python-list mailing list