Am 15.06.2012 23:03, schrieb R. David Murray: > The issue isn't "consenting adults", the issue is consistency. > Without the deepcopy, sometimes what you get back from the > inspect function is freely modifiable and sometimes it is not. > That inconsistency is a bad thing. This must be addressed one way or the other. Otherwise you will break isolation of sub interpreters. Builtin objects, types and methods *must* be immutable because they are shared across subinterpreters. This topic has been addressed by the PEP. Proposal: You could store the signature objects for builtin methods in a dict in each PyInterpreterState and use the qualname to reference the signature object. This ensures full isolation. Christian
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