Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

py.exe launcher missing support for a shebang with a fully-qualified executable #98692

Closed
Assignees
zooba
Labels
3.11only security fixes3.12only security fixesOS-windowstype-bugAn unexpected behavior, bug, or error
@Khold6458

Description

@Khold6458

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 fixes3.12only security fixesOS-windowstype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp