-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Closed
Copy link
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesOS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
In previous versions, a shebang line like #! C:\full\path\to\executable
or #! C:\venv\Scripts\python
worked to specify the executable used to run the script. With the 3.11 py.exe launcher, this pattern is not recognized and uses a default Python interpreter instead.
I initially reported this in the comments of issue #94399 which was resolved several months ago.
Your environment
- CPython versions tested on: 3.11.0
- Operating system and architecture: Windows 10
Metadata
Metadata
Assignees
Labels
3.11only security fixesonly security fixes3.12only security fixesonly security fixesOS-windowstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error