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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 13 Mar 2002 04:33:16 -0800


Bugs item #526488, was opened at 2002-03-06 18: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: Closed
>Resolution: Works For Me
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'


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

>Comment By: Jack Jansen (jackjansen)
Date: 2002-03-13 13:33

Message:
Logged In: YES 
user_id=45365

After private mail exchanges with Dan I'm convinced that there's nothing wrong with this behaviour.

Dan: if you disagree please reopen the bug and provide more information on what you had expected to see.

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

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