[Python-ideas] Draft PEP for virtualenv in the stdlib

Carl Meyer carl at oddbird.net
Wed Oct 26 19:06:38 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jim,

On 10/26/2011 10:04 AM, Jim Jewett wrote:
> On Tue, Oct 25, 2011 at 9:15 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
>> Nick Coghlan <ncoghlan at ...> writes:
> Is there a reason we can't just make sys.* be the virtual
> environment's version, and sys.base.* be the site-wide version?  You
> could still find sys.base.*, and you could still check whether
> sys.prefix == sys.base.prefix, but programs that don't get updated
> will use the sandboxed virtual version by default.

Yes, this is a reasonable alternative that Vinay and I discussed at some
length earlier in development. There are reasonable arguments to be made
in both directions - you can read my summary of those arguments in the
"Open Questions" section of the PEP.

Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6oPh4ACgkQ8W4rlRKtE2ftFwCgmmTHdduy6C4f8fihMs2Q0/Nw
E18AoMAExZGageDgI+1BzikBsrzQCYd+
=+bJn
-----END PGP SIGNATURE-----



More information about the Python-ideas mailing list