[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

Éric Araujo report at bugs.python.org
Thu Jun 9 17:26:14 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

Now that site can be imported without side effects under -S, I think the tests could be updated: they don’t have to be all skipped under -S.  See attached patch.

----------
Added file: http://bugs.python.org/file22293/test_site-11591.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11591>
_______________________________________


More information about the Python-bugs-list mailing list