Help: how to protect the module 'sys' and 'os'
pytomtom at gmail.com
Wed Mar 7 08:58:34 CET 2012
I have to limit somebody modify the attr of 'sys'&'os'? e.g. you can't
append sys.path. Someone has a good method?
now my way: modified the source code of python
,"_PyObject_GenericSetAttrWithDict", because if you want to reset the
you need to invoke this function.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list