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: Not so correct exception message when running venv
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: python-dev, vajrasky, vinay.sajip
Priority: normal Keywords: patch

Created on 2013-10-22 12:37 by vajrasky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
venv_python_version_3_3_above.patch vajrasky, 2013-10-22 12:37 review
Messages (2)
msg200935 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-10-22 12:37
In Lib/venv/__init__.py, line 348:

raise ValueError('This script is only for use with Python 3.3')

But I am running Python 3.4. Attached the patch to make it better.

raise ValueError('This script is only for use with Python >= 3.3')

If you feel it does not feel right, any suggestions? "...Python 3.3 and above", "...at least Python 3.3"?
msg201840 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-31 18:45
New changeset 731bdec35fdd by Vinay Sajip in branch '3.3':
Issue #19349: Corrected error message.
http://hg.python.org/cpython/rev/731bdec35fdd

New changeset e97d9926da83 by Vinay Sajip in branch 'default':
Closes #19349: Merged fix from 3.3.
http://hg.python.org/cpython/rev/e97d9926da83
History
Date User Action Args
2022-04-11 14:57:52adminsetgithub: 63548
2013-10-31 18:45:21python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg201840

resolution: fixed
stage: resolved
2013-10-22 18:17:47ned.deilysetnosy: + vinay.sajip
2013-10-22 12:37:41vajraskycreate