[pypy-dev] help(1) OverflowError

Sanghyeon Seo sanxiyn at gmail.com
Fri Apr 1 08:56:34 CEST 2005

With the current PyPy HEAD, help(1) results in OverflowError, after a long time.
I just wanted to test whether pydoc works, but I didn't expect OverflowError...

Traceback (application-level):
  File "<inline>help(1)", line 1 in ?
  File "/home/tinuviel/pypy/dist/lib-python-2.3.4/pydoc.py", line 47 in ?
import sys, imp, os, re, types, inspect, __builtin__
  File "/home/tinuviel/pypy/dist/lib-python-2.3.4/inspect.py", line 31 in ?
import sys, os, types, string, re, dis, imp, tokenize, linecache
  File "/home/tinuviel/pypy/dist/lib-python-2.3.4/tokenize.py", line 100 in ?
tokenprog, pseudoprog, single3prog, double3prog = map(
  File "/home/tinuviel/pypy/dist/lib-python-2.3.4/sre.py", line 179 in compile
    return _compile(pattern, flags)
  File "/home/tinuviel/pypy/dist/lib-python-2.3.4/sre.py", line 228 in _compile
        p = sre_compile.compile(pattern, flags)
  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

Any idea?

More information about the Pypy-dev mailing list