[New-bugs-announce] [issue23202] pyvenv does not fail like documented when a venv already exists

Florian Bruhin report at bugs.python.org
Fri Jan 9 07:02:04 CET 2015


New submission from Florian Bruhin:

https://docs.python.org/3/library/venv.html says:

> If the target directory already exists an error will be raised, unless the --clear or --upgrade option was provided.

However, that doesn't seem to be the case:

[florian at ginny ~]$ python --version
Python 3.4.2
[florian at ginny ~]$ pyvenv foobar
[florian at ginny ~]$ ls foobar
bin  include  lib  lib64  pyvenv.cfg
[florian at ginny ~]$ pyvenv foobar
[florian at ginny ~]$

----------
components: Library (Lib)
messages: 233718
nosy: The Compiler, vinay.sajip
priority: normal
severity: normal
status: open
title: pyvenv does not fail like documented when a venv already exists
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23202>
_______________________________________


More information about the New-bugs-announce mailing list