Skip to content

python-config.py fails if bindir is too long due to shebang overflow #93759

Closed as not planned
@ptsneves

Description

@ptsneves

If python is built with a non standard location interpreter, it is possible the location of this interpreter has a string length which will cause issues on systems with shebang string length limitations. An example is in Linux systems where the maximum (!#) shebang size is defined in include/uapi/linux/binfmts.h and is 128 characters

This issue happens if python-config.py is invoked directly. The script will not even be executed by the operating system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions