DateTime bug?
Carsten Gaebler
clpy at snakefarm.org
Wed Jan 23 05:03:06 EST 2002
Hi,
I'm using Python 2.2 with the eGenix MX extensions 2.0.3. It seems the
DateTime module has a bug:
Python 2.2 (#8, Jan 11 2002, 20:10:20)
[GCC 3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mx.DateTime
>>> mx.DateTime.ISO.WeekTime(2002, 4, 1)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/local/python-2.2/lib/python2.2/site-packages/mx/Misc/LazyModule.py",
line 63, in __getattr__
self.__locals__[name] \
File
"/usr/local/python-2.2/lib/python2.2/site-packages/mx/DateTime/ISO.py",
line 14, in ?
import DateTime,Timezone
File
"/usr/local/python-2.2/lib/python2.2/site-packages/mx/DateTime/Timezone.py",
line 49, in ?
tzRE= re.compile(tz)
File "/usr/local/python-2.2/lib/python2.2/sre.py", line 178, in
compile
return _compile(pattern, flags)
File "/usr/local/python-2.2/lib/python2.2/sre.py", line 228, in
_compile
raise error, v # invalid expression
sre_constants.error: redefinition of group name 'sign' as group 7; was
group 3
>>>
MX 2.0.2 with Python 2.1 didn't have that problem. Any ideas?
cg.
--
'In iteger arithetric divsion is no the oposite of multiplication.'
-- scenes from comp.lang.python
More information about the Python-list
mailing list