[Python-bugs-list] time.daylight error (PR#104)

mengkuan@lga.net.sg mengkuan@lga.net.sg
Tue, 12 Oct 1999 22:40:52 -0400 (EDT)


Full_Name: Chew Meng Kuan
Version: 1.5.2
OS: Linux 2.2
Submission from: (NULL) (203.116.84.242)


Hi,

The following works in Python 1.5.1:

$ /usr/bin/python1.5
Python 1.5.1 (#1, Oct 19 1998, 21:36:37)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import time
>>> time.daylight
0
>>>               

However, the same thing fails in 1.5.2 on the same machine:

$ /usr/local/bin/python
Python 1.5.2 (#1, Oct 13 1999, 10:18:22)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import time
>>> time.daylight
Traceback (innermost last):
  File "<stdin>", line 1, in ?
AttributeError: daylight
>>>

I was trying to compile python 1.5.2 for use with Zope 2.0.1.

Thanks.

Meng Kuan