Message87855
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? |
|
Date |
User |
Action |
Args |
2009-05-16 04:20:03 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, benjamin.peterson, steven.daprano |
2009-05-16 04:20:03 | terry.reedy | set | messageid: <1242447603.58.0.344568939774.issue6017@psf.upfronthosting.co.za> |
2009-05-16 04:20:02 | terry.reedy | link | issue6017 messages |
2009-05-16 04:20:01 | terry.reedy | create | |
|