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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17645>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to