You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
venv module and pyvenv script documented, but not python behavior itself #59446
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2012-07-03.16:27:07.567>created_at=<Date2012-07-03.04:22:53.681>labels= ['tests', 'docs']
title='venv module and pyvenv script documented, but not python behavior itself'updated_at=<Date2012-07-13.22:49:18.079>user='https://github.com/merwok'
I did not find any doc or test for the behavior of the interpreter in virtual mode, only for venv and pyvenv.
A new paragraph in site.py exists, but it’s missing from site.rst, contains what I think is an error (saying that sys.prefix is always the real prefix), and should be somewhere more obvious than the site docs or linked from somewhere more obvious, like the Usage and Setup docs or maybe the tutorial.
Activity
merwok commentedon Jul 3, 2012
I did not find any doc or test for the behavior of the interpreter in virtual mode, only for venv and pyvenv.
A new paragraph in site.py exists, but it’s missing from site.rst, contains what I think is an error (saying that sys.prefix is always the real prefix), and should be somewhere more obvious than the site docs or linked from somewhere more obvious, like the Usage and Setup docs or maybe the tutorial.
python-dev commentedon Jul 3, 2012
New changeset 4a39ea2c1b11 by Vinay Sajip in branch 'default':
bpo-15241: Improved site.py documentation relating to venvs.
http://hg.python.org/cpython/rev/4a39ea2c1b11
python-dev commentedon Jul 3, 2012
New changeset 18c2519b9114 by Vinay Sajip in branch 'default':
Issue bpo-15241: Added test for venv prefixes.
http://hg.python.org/cpython/rev/18c2519b9114
vsajip commentedon Jul 3, 2012
Note that the prefix values (and their meanings in venv/non-venv environments) are documented in the sys module.
python-dev commentedon Jul 3, 2012
New changeset 74fea1763d02 by Vinay Sajip in branch 'default':
Closes bpo-15241: Added information on venv prefixes to pyvenv section.
http://hg.python.org/cpython/rev/74fea1763d02
python-dev commentedon Jul 13, 2012
New changeset 0dbffd3c1317 by Ned Deily in branch 'default':
Issue bpo-15241: Fix test_prefixes failure in test_venv due to symlink in
http://hg.python.org/cpython/rev/0dbffd3c1317