Dominic Cerquetti added the comment:

Requesting re-open of this issue, using --closes to force no symlinks to be 
created still results in venv trying to create symlinks.

I'm using Python 3.4 with the following command inside a vagrant Ubuntu 14.04 
virtualbox image.  The folder is a SMB mount from a windows host, which does 
not allow symlinks.

Expected behavior: os.symlink() is never called when you run:
python3.4 -m venv --copies

Actual behavior: os.symlink() is still called in a few places such as:
http://hg.python.org/cpython/file/b8e4bb1e1090/Lib/venv/__init__.py
line: 147
line: 215

I have a fix for line 215 that I'm testing now (basically just need to call 
copier() instead of os.symlink()). 

I don't want to mess with line 147 due to it being OSX specific and I have no 
way to test it.  But in theory it should also just be a call to copier()

----------
nosy: +Dominic.Cerquetti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18807>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to