Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

venv module and pyvenv script documented, but not python behavior itself #59446

Closed
merwok opened this issue Jul 3, 2012 · 6 comments
Closed
Labels
docs Documentation in the Doc dir tests Tests in the Lib/test dir

Comments

@merwok
Copy link
Member

merwok commented Jul 3, 2012

BPO 15241
Nosy @vsajip, @merwok

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 = None
closed_at = <Date 2012-07-03.16:27:07.567>
created_at = <Date 2012-07-03.04:22:53.681>
labels = ['tests', 'docs']
title = 'venv module and pyvenv script documented, but not python behavior itself'
updated_at = <Date 2012-07-13.22:49:18.079>
user = 'https://github.com/merwok'

bugs.python.org fields:

activity = <Date 2012-07-13.22:49:18.079>
actor = 'python-dev'
assignee = 'docs@python'
closed = True
closed_date = <Date 2012-07-03.16:27:07.567>
closer = 'python-dev'
components = ['Documentation', 'Tests']
creation = <Date 2012-07-03.04:22:53.681>
creator = 'eric.araujo'
dependencies = []
files = []
hgrepos = []
issue_num = 15241
keywords = []
message_count = 6.0
messages = ['164563', '164609', '164611', '164612', '164613', '165424']
nosy_count = 4.0
nosy_names = ['vinay.sajip', 'eric.araujo', 'docs@python', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue15241'
versions = ['Python 3.3']

@merwok
Copy link
Member Author

merwok commented 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.

@merwok merwok added docs Documentation in the Doc dir tests Tests in the Lib/test dir labels Jul 3, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented 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
Copy link
Mannequin

python-dev mannequin commented 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
Copy link
Member

vsajip commented Jul 3, 2012

Note that the prefix values (and their meanings in venv/non-venv environments) are documented in the sys module.

@python-dev
Copy link
Mannequin

python-dev mannequin commented 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 python-dev mannequin closed this as completed Jul 3, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented 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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

2 participants