Message300739
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). |
|
Date |
User |
Action |
Args |
2017-08-23 03:31:28 | rhettinger | set | recipients:
+ rhettinger, Antony.Lee |
2017-08-23 03:31:28 | rhettinger | set | messageid: <1503459088.26.0.118235896062.issue31254@psf.upfronthosting.co.za> |
2017-08-23 03:31:28 | rhettinger | link | issue31254 messages |
2017-08-23 03:31:27 | rhettinger | create | |
|