[Python-bugs-list] [ python-Bugs-526488 ] MachO time.daylight incorrect

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Mar 2002 09:19:30 -0800


Bugs item #526488, was opened at 2002-03-06 12:19
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=526488&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Dan Grassi (dgrassi)
Assigned to: Jack Jansen (jackjansen)
Summary: MachO time.daylight incorrect

Initial Comment:
The MachO time.daylight variable is wrong and
MacClassic is correct.

Here are examples from both versions:

[localhost:~] dgrassi% python
Python 2.2 (#11, Jan  6 2002, 01:00:42) 
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for
more information.
>>> from time import *
daylight
timezone
tzname
asctime()
>>> 1
>>> 18000
>>> ('EST', 'EDT')
>>> 'Wed Mar  6 11:40:58 2002'


Python 2.2 (#124, Dec 22 2001, 17:36:41)  [CW CARBON
GUSI2 THREADS GC] on mac
Type "copyright", "credits" or "license" for more
information.
>>> from time import *
daylight
timezone
tzname
asctime()
>>> 0
>>> 18000
>>> ('', '')
>>> 'Wed Mar  6 11:40:09 2002'


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=526488&group_id=5470