1.5.2 build problems -- time module

vlachidis costas vlachid at otenet.gr
Sat May 22 13:32:48 EDT 1999


Hi
Why you don't install it directly from Suse 6.0 CDs?
Costas
Neel Krishnaswami wrote:

> I'm trying to build the 1.5.2 version of Python from source on
> a SuSE Linux 5.3 system (kernel 2.0.34 and libc5). The compilation
> went okay, but when I ran 'make test' I got the following error
> in the regression tests:
>
> test_time
> test test_time crashed -- exceptions.AttributeError : altzone
>
> Investigating a bit further, I issued the following command at
> the Python command line:
>
> >>> import time
> >>> dir(time)
> ['__doc__', '__name__', 'accept2dyear', 'asctime', 'clock', 'ctime',
> 'gmtime', 'localtime', 'mktime', 'sleep', 'strftime', 'strptime',
> 'time']
>
> So it's clear that none of the module-level variables for the time
> module are there, but all the functions are present. (And the
> functions seem to be working correctly.) Any ideas what's going wrong,
>
> and what I need to do to fix it? (I recall some discussion of a
> similar problem, but can't seem to find it on Dejanews; is it a bug
> fixed in CVS, perhaps?)
>
> Neel







More information about the Python-list mailing list