Phillip J. Eby wrote: > Presumably, if somebody writes to __dict__ in order to bypass the > warning, they either know what they're doing or deserve what they get. I'm not sure about that. Think about using globals(). Eg. exec somecode in globals() or: d = globals() d['range'] = 'ha ha' I especially worried about code that provides an interactive interface (e.g IDLE and pyrepl). Neil
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