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 xiang.zhang
Recipients methane, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-03.08:08:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478160519.71.0.817038064717.issue28580@psf.upfronthosting.co.za>
In-reply-to
Content
Currently dict iterator does not allow size changed during iteration. This is more strict than list iterator but still allow modification during iteration. Maybe we could deny all modification by checking dict->ma_version_tag. But that's irrelevant to this issue.

Serhiy, this means the iternext* functions all get UB. These codes existed even in 3.3. Do we really need to eliminate them now?
History
Date User Action Args
2016-11-03 08:08:39xiang.zhangsetrecipients: + xiang.zhang, vstinner, methane, serhiy.storchaka
2016-11-03 08:08:39xiang.zhangsetmessageid: <1478160519.71.0.817038064717.issue28580@psf.upfronthosting.co.za>
2016-11-03 08:08:39xiang.zhanglinkissue28580 messages
2016-11-03 08:08:39xiang.zhangcreate