This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients arigo, rhettinger, serhiy.storchaka
Date 2017-05-12.13:46:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1494596807.38.0.435020143586.issue30347@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-12 13:46:47serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, rhettinger
2017-05-12 13:46:47serhiy.storchakasetmessageid: <1494596807.38.0.435020143586.issue30347@psf.upfronthosting.co.za>
2017-05-12 13:46:47serhiy.storchakalinkissue30347 messages
2017-05-12 13:46:47serhiy.storchakacreate