[issue28731] _PyDict_NewPresized() creates too small dict

STINNER Victor report at bugs.python.org
Fri Nov 18 09:19:11 EST 2016


STINNER Victor added the comment:

> Can I assume PY_SSIZE_T_MAX is 2**n-1?

I think so. Add an assertion just to be sure :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28731>
_______________________________________


More information about the Python-bugs-list mailing list