# python: Show environment name if available \(\#26741\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/13bf179aae73f3a9dc3e0c38ccd9a6ed4b0fd7c0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 13bf179aae73f3a9dc3e0c38ccd9a6ed4b0fd7c0

Requested commit: 13bf179aae73f3a9dc3e0c38ccd9a6ed4b0fd7c0

Commit: 13bf179aae73f3a9dc3e0c38ccd9a6ed4b0fd7c0

Tree: 27c98c6a6689e66b5575681dff28a01b22fe0e5a

Author: Elvis Pranskevichus

Committer: GitHub

## Message

```
python: Show environment name if available (#26741)

Right now the toolchain popup is a nondescript list of duplicate entries
like `Python 3.10.15 (VirtualEnvWrapper)` and one has to look at the
interpreter path to distinguish one virtualenv from another.

Fix this by including the env name as reported by pet, so the entries
looks like `Python 3.10.15 (myproject; VirtualEnvWrapper)`.

Release Notes:

- Python: Improved display of environments in toolchain selector
```

## Parents

- [cdaad2655a735b08d9c443f883988531ce164975](https://git.cafe/gitcafe/zed/commit/cdaad2655a735b08d9c443f883988531ce164975?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/13bf179aae73f3a9dc3e0c38ccd9a6ed4b0fd7c0?format=markdown)
