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 neologix
Recipients ajaksu2, benjamin.peterson, dcjim, elachuni, gvanrossum, jon, kristjan.jonsson, mark.dickinson, neologix, pitrou, python-dev, qelan, tseaver, vdupras, vstinner
Date 2016-06-01.14:37:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464791820.91.0.663206185485.issue7105@psf.upfronthosting.co.za>
In-reply-to
Content
Shouldn't the documentation be updated?

https://docs.python.org/3.6/library/weakref.html#weakref.WeakKeyDictionary

Note Caution: Because a WeakKeyDictionary is built on top of a Python dictionary, it must not change size when iterating over it. This can be difficult to ensure for a WeakKeyDictionary because actions performed by the program during iteration may cause items in the dictionary to vanish “by magic” (as a side effect of garbage collection).
History
Date User Action Args
2016-06-01 14:37:01neologixsetrecipients: + neologix, gvanrossum, dcjim, tseaver, mark.dickinson, pitrou, kristjan.jonsson, vstinner, ajaksu2, jon, benjamin.peterson, vdupras, elachuni, python-dev, qelan
2016-06-01 14:37:00neologixsetmessageid: <1464791820.91.0.663206185485.issue7105@psf.upfronthosting.co.za>
2016-06-01 14:37:00neologixlinkissue7105 messages
2016-06-01 14:37:00neologixcreate