Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
Thedst variable inhttps://github.com/python/cpython/blob/main/Lib/venv/__init__.py#L396 should be nameddest. Otherwise it throws theUnboundLocalError: cannot access local variable 'dst' where it is not associated with a value.
I have a PR that fixes this and also adds a test covering this code path.
This is occurring on Python 3.13 and 3.14.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows