[issue17645] assert fails in _Py_Mangle
Antoine Pitrou
report at bugs.python.org
Sun Apr 7 12:30:50 CEST 2013
Antoine Pitrou added the comment:
The crash is very obscure, I don't think we want to bother with a unit test for that (it took 14 seconds to crash or pass here).
> This might help notice that comparing an integer of type Py_ssize_t to
> check if it's greater than PY_SSIZE_T_MAX is bogus in C
The variables are of type size_t, not Py_ssize_t (which explains why the comparison works).
----------
resolution: -> fixed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17645>
_______________________________________
More information about the Python-bugs-list
mailing list