This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Command to activate venv in Windows has wrong path
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: berker.peksag, docs@python, eryksun, facundobatista, humitos, python-dev
Priority: normal Keywords: patch

Created on 2016-06-26 17:28 by humitos, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
venv-windows-command.patch humitos, 2016-06-26 17:28 Patch that fixes this issue by escaping the `\` for the development version review
Messages (6)
msg269299 - (view) Author: Manuel Kaufmann (humitos) * Date: 2016-06-26 17:28
The `venv` module has a bug in the command to activate it on Windows.

In 3.3 and 3.4 the bar used is wrong: `/` instead `\`

* https://docs.python.org/3.4/library/venv.html#creating-virtual-environments
* https://docs.python.org/3.3/library/venv.html#creating-virtual-environments


In 3.5 and 3.6 that section was converted to a table with the commands and they are missing the `\` in the command path:

* https://docs.python.org/3.5/library/venv.html#creating-virtual-environments
* https://docs.python.org/dev/library/venv.html#creating-virtual-environments
msg269354 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-27 06:50
New changeset fd1236294b88 by Berker Peksag in branch '3.5':
Issue #27393: Fix escaping of venv activate commands on Windows
https://hg.python.org/cpython/rev/fd1236294b88

New changeset cf560010e6f8 by Berker Peksag in branch 'default':
Issue #27393: Merge from 3.5
https://hg.python.org/cpython/rev/cf560010e6f8
msg269355 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-06-27 06:52
Thanks! 3.3 and 3.4 docs are not maintained anymore.
msg269361 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2016-06-27 09:07
You missed "C:\\>".
msg269365 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-27 10:09
New changeset b82149953a8c by Berker Peksag in branch '3.5':
Issue #27393: Fix escaping of C:\ too
https://hg.python.org/cpython/rev/b82149953a8c

New changeset e1a0582896d6 by Berker Peksag in branch 'default':
Issue #27393: Merge from 3.5
https://hg.python.org/cpython/rev/e1a0582896d6
msg269366 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2016-06-27 10:12
Thanks, Eryk. By the way, there is no need to change the state of 'resolution' and 'stage' fields.
History
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71580
2016-06-27 10:12:17berker.peksagsetstatus: open -> closed
resolution: fixed
messages: + msg269366

stage: resolved
2016-06-27 10:09:42python-devsetmessages: + msg269365
2016-06-27 09:07:38eryksunsetstatus: closed -> open

nosy: + eryksun
messages: + msg269361

resolution: fixed -> (no value)
stage: resolved -> (no value)
2016-06-27 06:52:35berker.peksagsetstatus: open -> closed

type: enhancement -> behavior
versions: - Python 3.3, Python 3.4
nosy: + berker.peksag

messages: + msg269355
resolution: fixed
stage: resolved
2016-06-27 06:50:35python-devsetnosy: + python-dev
messages: + msg269354
2016-06-26 17:28:33humitoscreate