[issue16856] Segfault from calling repr() on a dict with a key whose repr raise an exception

Christian Heimes report at bugs.python.org
Fri Jan 4 10:45:37 CET 2013


Christian Heimes added the comment:

IMO the check is better performed a couple of lines later:

if (right == NULL || left == NULL || !PyUnicode_Check(left)) {

----------
nosy: +christian.heimes

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


More information about the Python-bugs-list mailing list