[pypy-dev] help(1) OverflowError
arigo at tunes.org
Fri Apr 1 11:48:59 CEST 2005
On Fri, Apr 01, 2005 at 03:56:34PM +0900, Sanghyeon Seo wrote:
> File "/home/tinuviel/pypy/dist/lib-python-2.3.4/sre_compile.py",
> line 488 in compile
> groupindex, indexgroup
> OverflowError: long int too large to convert to int
Actually, if you have a very fast machine, debugging with pdb in py.py works
fine. It's related to Michael Chermside's module/_sre_pypy/ check-in. The
bug is that _sre.compile() should accept as 3rd argument a list of unsigned
integers, but in the current implementation expects a list of signed integers
-- hence the OverflowError.
Help! What is the proper way to unwrap an unsigned integer?
More information about the Pypy-dev