OverflowError: integer multiplication

Magnus Heino magnus.heino at rivermen.se
Fri Sep 29 05:35:23 EDT 2000


Since upgrading to Python 2.0b2, I'm getting quite a few exceptions like the one below, and usualy caused by xmllib.py

I browsed the buglist at sourceforge, but couldnt find anything like it. Is anyone else having the same problems and/or know how to fix it?

/Magnus

[magnus at daysleeper soap]$ python
Python 2.0b2 (#2, Sep 27 2000, 11:40:58) 
[GCC 2.96 20000731 (Red Hat Linux 7.0)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import soaplib
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "soaplib.py", line 74, in ?
    import urllib, xmllib
  File "/usr/local/lib/python2.0/xmllib.py", line 21, in ?
    ref = re.compile('&(' + _Name + '|#[0-9]+|#x[0-9a-fA-F]+)[^-a-zA-Z0-9._:]')
  File "/usr/local/lib/python2.0/sre.py", line 62, in compile
    return _compile(pattern, flags)
  File "/usr/local/lib/python2.0/sre.py", line 100, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/local/lib/python2.0/sre_compile.py", line 363, in compile
    code = _code(p, flags)
  File "/usr/local/lib/python2.0/sre_compile.py", line 347, in _code
    _compile(code, p.data, flags)
  File "/usr/local/lib/python2.0/sre_compile.py", line 75, in _compile
    emit((av[0]-1)*2)
OverflowError: integer multiplication
>>>



More information about the Python-list mailing list