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 David MacIver
Recipients David MacIver, r.david.murray
Date 2015-03-24.17:39:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427218745.86.0.897659674804.issue23757@psf.upfronthosting.co.za>
In-reply-to
Content
So as a data point, this problem seems to be unique to tuple. set(x), list(x), tuple(iter(x)) all seem to work as expected and respect the overridden __iter__ (set and list were both included in the test case I attached to demonstrated this, iter I just checked right now). This suggests that the problem is in what tuple is doing, not in some general iterator protocol,
History
Date User Action Args
2015-03-24 17:39:05David MacIversetrecipients: + David MacIver, r.david.murray
2015-03-24 17:39:05David MacIversetmessageid: <1427218745.86.0.897659674804.issue23757@psf.upfronthosting.co.za>
2015-03-24 17:39:05David MacIverlinkissue23757 messages
2015-03-24 17:39:05David MacIvercreate