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.

Author Stuart Cuthbertson
Recipients Stuart Cuthbertson, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-04-01.02:25:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522549543.99.0.467229070634.issue33193@psf.upfronthosting.co.za>
In-reply-to
Content
I should clarify first that I haven't reproduced the following bug specifically with venv. I was asked to raise this here after raising an identical issue about virtualenv (https://github.com/pypa/virtualenv/issues/1154); a GitHub user told me this would also apply to venv. 

The bug with virtualenv is that it errors if passed a directory that contains a $ (dollar symbol). $ is a valid character for Windows directory names, filenames, and usernames. So running something simple like `python3 -m venv` (presumably) can fail in some valid Windows directories. 

The full error traceback for virtualenv is available at the above GitHub URL. A commenter in the virtualenv project (see https://github.com/pypa/virtualenv/issues/457#issuecomment-377159868) suggested that this happens because the directory path is passed as-is (with $) to distutils, and distutils is seeing the text following the $ as a placeholder and trying to replace it with a variable, which isn't found.
History
Date User Action Args
2018-04-01 02:25:44Stuart Cuthbertsonsetrecipients: + Stuart Cuthbertson, paul.moore, tim.golden, zach.ware, steve.dower
2018-04-01 02:25:43Stuart Cuthbertsonsetmessageid: <1522549543.99.0.467229070634.issue33193@psf.upfronthosting.co.za>
2018-04-01 02:25:43Stuart Cuthbertsonlinkissue33193 messages
2018-04-01 02:25:42Stuart Cuthbertsoncreate