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 rhettinger
Recipients rhettinger, serhiy.storchaka, vstinner
Date 2016-04-13.03:18:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460517513.93.0.268644379252.issue26491@psf.upfronthosting.co.za>
In-reply-to
Content
Deferring decrefs as late as possible is a good practice, reducing the risk of bugs being introduced later.  There have been other places where there were bugs that arose due to premature decreffing.

I wrote the original code for enumerate, am the primary maintainer, and can make improvements to code organization as needed.  Unless you think this change is broken, it should stay in.
History
Date User Action Args
2016-04-13 03:18:33rhettingersetrecipients: + rhettinger, vstinner, serhiy.storchaka
2016-04-13 03:18:33rhettingersetmessageid: <1460517513.93.0.268644379252.issue26491@psf.upfronthosting.co.za>
2016-04-13 03:18:33rhettingerlinkissue26491 messages
2016-04-13 03:18:33rhettingercreate