On Tue, Mar 13, 2018 at 1:31 AM, Jim <jf_byr...@comcast.net> wrote: > On 03/12/2018 04:04 AM, eryk sun wrote: >> >> On Mon, Mar 12, 2018 at 12:44 AM, Jim <jf_byr...@comcast.net> wrote: >>> >>> home = /usr/bin >>> include-system-site-packages = false >> >> [...] >>> >>> resp = opener.open(request, timeout=self._timeout) >>> File "/usr/lib/python3.5/urllib/request.py", line 466, in open >> >> This is normal. Virtual environments are not isolated from the standard >> library. > > Interesting. All I know about virtual environments is what I read on the > net. I always see them recommended as a way to keep from messing up the > default python, so I thought isolation was their purpose.
You're thinking of isolating packages that are installed in site-packages, not the standard library. There's no point in copying and recompiling the entire standard library in every virtual environment. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor