-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nick, On 10/25/2011 08:26 PM, Nick Coghlan wrote:
I think explaining to people "sys.venv_prefix is still valid when you're not in a virtual env, it just points to the same place as sys.prefix" is easier than explaining a *new* name with "<whatever name> points to the virtual env directory when you're in a virtual environment and sys.prefix otherwise".
So while I agree your concern is valid, I think just living with the quirkiness is a reasonable approach.
FWIW, I agree with Vinay and Barry here. It's not something I care deeply about (since I think direct use of these sys attributes should be discouraged outside the stdlib anyway), but I don't agree that a misnamed attribute is easier to explain than a new name. Carl -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6oTYMACgkQ8W4rlRKtE2dXbgCggLUDFr1cqRrOTlvPH9PoC0y5 Y7QAoMyQtRh22P2ly7TmrS3/SlQncFFd =swWE -----END PGP SIGNATURE-----