[New-bugs-announce] [issue37885] venv: Don't produce unbound variable warning on deactivate

Daniel Abrahamsson report at bugs.python.org
Mon Aug 19 04:50:09 EDT 2019


New submission from Daniel Abrahamsson <hamsson at gmail.com>:

Running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) produces a warning:

``` 
$ python3 -m venv test
$ source test/bin/activate
(test) $ deactivate
-bash: $1: unbound variable
```

----------
components: Library (Lib)
messages: 349944
nosy: danabr
priority: normal
severity: normal
status: open
title: venv: Don't produce unbound variable warning on deactivate
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37885>
_______________________________________


More information about the New-bugs-announce mailing list