Opps... forgot to mention that this bug only shows up with libc5 systems. If you use glibc2/libc6, you don't have to worry. On Thu, 22 Apr 1999, John Eikenberry wrote:
On Thu, 22 Apr 1999, Hermann Himmelbauer wrote:
ImportError: cannot import name tzname
Is this a bug in python 1.5.2?
Yes, it's a python/libc related bug. The bug is in timemodules.c and deals with testing for the libc version. Currently the fix (its still being tested on all systems) is to alter line 619 in timemodule.c (and recompile, of course)...
from:
#if defined(HAVE_TZNAME) && !defined(__GNU_LIBRARY__)
to:
#if defined(HAVE_TZNAME) && !defined(__GLIBC__)
Hope this helps,
---
John Eikenberry [jae@kavi.com - http://taos.kavi.com/~jae/] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
--- John Eikenberry [jae@kavi.com - http://taos.kavi.com/~jae/] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin