STINNER Victor added the comment:

> I gave two reasons why this function can fail, and one turns out to be 
> assumed-to-be-dead code. 

If the call to PyDict_New() is never called, the test can be replaced with an 
assertion.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12946>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to