commit | 5209e586b7cac9a43b2c44349a26b1b0af06ead3 | [log] [tgz] |
---|---|---|
author | Daniel Abrahamsson <hamsson@gmail.com> | Wed Sep 11 16:58:56 2019 +0200 |
committer | T. Wouters <thomas@python.org> | Wed Sep 11 07:58:56 2019 -0700 |
tree | cafe1143250451d37a63d17261fb117308364e50 | |
parent | 3b58a70d9cf1c0f963adce9b07060116b2775687 [diff] |
bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15330) Before, running deactivate from a bash shell configured to treat undefined variables as errors (`set -u`) would produce a warning: ``` $ python3 -m venv test $ source test/bin/activate (test) $ deactivate -bash: $1: unbound variable ```