Bug report
Bug description:
venv.EnvBuilder.setup_python() in Lib/venv/__init__.py includes a symlink
suffix that uses a Unicode mathematical italic pi character instead of the
letter "p":
As a result, every virtual environment created with python3 -m venv gets an
extra symlink named 𝜋thon (U+1D745 MATHEMATICAL ITALIC SMALL PI + "thon"),
pointing at the real python3 binary, alongside the normal python /
python3 / python3.X symlinks.
Minimal reproduction:
```python
no Python code needed — reproduces from the shell:
python3 -m venv testenv
ls -la testenv/bin/ | grep -P '[^\x00-\x7F]'
-> shows: 𝜋thon -> python3
```
Expected: only the standard ASCII-named symlinks (python, python3,
python3.X) should be created in a venv's bin/ directory.
Confirmed this originates from the venv module itself, not from pip or any
post-install step — it appears in a freshly created venv before any packages
are installed.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Bug report
Bug description:
venv.EnvBuilder.setup_python()inLib/venv/__init__.pyincludes a symlinksuffix that uses a Unicode mathematical italic pi character instead of the
letter "p":
As a result, every virtual environment created with
python3 -m venvgets anextra symlink named
𝜋thon(U+1D745 MATHEMATICAL ITALIC SMALL PI + "thon"),pointing at the real
python3binary, alongside the normalpython/python3/python3.Xsymlinks.Minimal reproduction:
```python
no Python code needed — reproduces from the shell:
python3 -m venv testenv
ls -la testenv/bin/ | grep -P '[^\x00-\x7F]'
-> shows: 𝜋thon -> python3
```
Expected: only the standard ASCII-named symlinks (
python,python3,python3.X) should be created in a venv'sbin/directory.Confirmed this originates from the venv module itself, not from pip or any
post-install step — it appears in a freshly created venv before any packages
are installed.
CPython versions tested on:
3.14
Operating systems tested on:
Linux