My thought on all this is to implement WeakKeyDictionary as a C extension and have it atomically construct and return a list for keys(). While this would not be exactly the same behaviour as an ordinary dict, I don't expect that much code would notice the difference. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4