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 terry.reedy
Recipients benjamin.peterson, exarkun, ezio.melotti, fabioz, gvanrossum, michael.foord, rhettinger, terry.reedy, tomwardill
Date 2013-08-03.01:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If the iterator for 'self' were de-structive, if it removed (popped) the test from whatever structure holds it before yielding it, the messiness of enumerate and the new ._removeTestAtIndex method would not be needed and 'for test in self' would work as desired. If considered necessary,  new method .pop_iter, used in 'for test in self.pop_iter', would make it obvious that the iteration empties the collection.
Date User Action Args
2013-08-03 01:56:20terry.reedysetrecipients: + terry.reedy, gvanrossum, rhettinger, exarkun, fabioz, benjamin.peterson, ezio.melotti, michael.foord, tomwardill
2013-08-03 01:56:20terry.reedysetmessageid: <>
2013-08-03 01:56:20terry.reedylinkissue11798 messages
2013-08-03 01:56:19terry.reedycreate