> Can __temporary_immutable__ work on a multi-threaded system? What is to > prevent the (known to be mutable) key from changing underneath you during > the lookup? Perhaps I am misunderstanding, but it seems to me that you > must either copy the mutable key or be able to block all writers to the key > during the lookup. The sets module has this problem now. Our approach to this is to document that sets are not thread-safe. --Guido van Rossum (home page: http://www.python.org/~guido/)
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