[pypy-issue] [issue1428] PyLong_FromUnicode seems to return int instead of long

Amaury Forgeot d Arc tracker at bugs.pypy.org
Thu Mar 21 15:23:51 CET 2013

Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

PyPy does not define the PyLong_FromUnicode() function, so you are probably using the 
pure-Python version of jsonlib.

Indeed, in jsonlib.py the function read_number() has a line that says::
   int_part = int (match.group ('int'), 10)

nosy: +amaury
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list