Serhiy Storchaka added the comment:

PR 1557 implements the simplest fix -- remove the assert and use Py_XSETREF() 
instead of simple assignment. Since the resulting code in _grouper_next() is 
identical to the code in groupby_next(), it was shared between these two 
functions.

----------
stage: needs patch -> patch review

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

Reply via email to