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, georg.brandl, steven.daprano, terry.reedy
Date 2009-05-16.04:20:01
SpamBayes Score 0.00021273272
Marked as misclassified No
Message-id <1242447603.58.0.344568939774.issue6017@psf.upfronthosting.co.za>
In-reply-to
Content
The OP reported a real mismatch between doc and behavior.  If the
behavior is not changed, I think the doc should be.  Other implementors,
reading the doc, might think that they do have to write code to track
changes.  From the doc, I thought that CPython did that.

So I suggest changing reopening and changing the doc to say
"Changing the net size of the dictionary while using iteritems() will
raise a RuntimeError."  Same for iterkeys() and itervalues()[sp?]

Or remove the warning, as happened in the Py3 changeover to views, or
was that a mistake?
History
Date User Action Args
2009-05-16 04:20:03terry.reedysetrecipients: + terry.reedy, georg.brandl, benjamin.peterson, steven.daprano
2009-05-16 04:20:03terry.reedysetmessageid: <1242447603.58.0.344568939774.issue6017@psf.upfronthosting.co.za>
2009-05-16 04:20:02terry.reedylinkissue6017 messages
2009-05-16 04:20:01terry.reedycreate