[Python-ideas] Draft PEP for virtualenv in the stdlib

Nick Coghlan ncoghlan at gmail.com
Tue Oct 25 10:11:18 CEST 2011


On Tue, Oct 25, 2011 at 11:42 AM, Brian Curtin <brian.curtin at gmail.com> wrote:
> On 3.2+, symlinks on Windows are possible but only in what I suspect is a
> pretty rare version and environment combination. As said earlier, they work
> on Vista and beyond, but they require that the process has been elevated in
> order to obtain the symlink privilege. For example, even as an administrator
> account on Windows 7, you need to explicitly open up cmd with "Run as
> Administrator" to properly symlink (through Python or otherwise).
> If we can't execute the symlink, we raise OSError. We might as well try
> symlinks then fallback on OSError.

I'd prefer some kind of warning if the symlink fails on a POSIX
system. On Windows, bundling is such an accepted practice that even
copying by default wouldn't bother me.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list