Message293549
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. | |
| Date | User | Action | Args | | 2017-05-12 13:46:47 | serhiy.storchaka | set | recipients: + serhiy.storchaka, arigo, rhettinger | | 2017-05-12 13:46:47 | serhiy.storchaka | set | messageid: <1494596807.38.0.435020143586.issue30347@psf.upfronthosting.co.za> | | 2017-05-12 13:46:47 | serhiy.storchaka | link | issue30347 messages | | 2017-05-12 13:46:47 | serhiy.storchaka | create | | |