[issue5932] _json: _convertPyInt_AsSsize_t() never raise any error
Georg Brandl ge...@python.org added the comment: Applied in r72314. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5932 ___
[issue5932] _json: _convertPyInt_AsSsize_t() never raise any error
New submission from STINNER Victor victor.stin...@haypocalc.com: _convertPyInt_AsSsize_t() always return 1 (success) even on PyInt_AsSsize_t() error because of a ; after the if... if (*size_ptr == -1 PyErr_Occurred()); return 1; Attached patch fixes this issue, and add a