Petri Lehtinen <pe...@digip.org> added the comment:

PySequence_Fast_GET_ITEM expects that the object is valid and the index is 
within bounds, and never returns NULL. There's no need to decref and actually 
there's even no need to check the return value of PySequence_Fast_GET_ITEM.

----------
resolution:  -> rejected
stage: patch review -> committed/rejected
status: open -> closed

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

Reply via email to