[pypy-dev] help(1) OverflowError
Armin Rigo
arigo at tunes.org
Fri Apr 1 11:48:59 MEST 2005
Hi Seo,
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?
Armin
More information about the pypy-dev
mailing list