◐ Shell
clean mode source ↗

gh-100176: venv: Remove redundant compat code for Python <= 3.2 by hugovk · Pull Request #100177 · python/cpython

Python 3.2 has been EOL since 2016-02-20 and 2.7 since 2020-01-01, so we
can remove this old compatibility check and unindent the old else-block.

Also, in the unindented block, replace a .format() call with an f-string.

Plus similar changes in the documentation.

@hugovk hugovk changed the title gh-100176: venv: Remove redundant compat code for Python 3.2 and older gh-100176: venv: Remove redundant compat code for Python <= 3.2

Dec 12, 2022

@hugovk hugovk deleted the 100176-modernise-venv-__init__ branch

December 14, 2022 12:04

carljm added a commit to carljm/cpython that referenced this pull request

Dec 14, 2022