Goldfish wrote: > What about security holes, like a malicious version of socket getting > downloaded into a user's directory, and overriding the default, safe > version? Don't forget that in your PEP.
A malicious piece of software has already hundreds of way to overwrite modules. It could add a python executable to ~/bin and add ~/bin to PATH. it could modify .bashrc and add PYTHONPATH. Or it could drop some site.py and sitecustomize.py files in various directories. If you allow malicious or potential harmful software to write in your home directory you are lost. The new feature doesn't add new attack vectors. Christian -- http://mail.python.org/mailman/listinfo/python-list