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 rhettinger
Recipients Antony.Lee, rhettinger
Date 2017-08-23.03:31:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503459088.26.0.118235896062.issue31254@psf.upfronthosting.co.za>
In-reply-to
Content
For WeakKeyDictionary, I suspect that adding a __missing__() call would make the API more tricky and would likely cause more problems than it solves.

Without a compelling use case, my recommendation would be to leave it alone.  (FWIW, all of the weak reference data structures have a long history of bugs, it seems that this is difficult to get right).
History
Date User Action Args
2017-08-23 03:31:28rhettingersetrecipients: + rhettinger, Antony.Lee
2017-08-23 03:31:28rhettingersetmessageid: <1503459088.26.0.118235896062.issue31254@psf.upfronthosting.co.za>
2017-08-23 03:31:28rhettingerlinkissue31254 messages
2017-08-23 03:31:27rhettingercreate