Skip to content

python -I's help message missing imply -P #131818

Closed
@bebound

Description

@bebound

Feature or enhancement

Proposal:

According to the doc,

-I Run Python in isolated mode. This also implies -E, -P and -s options.

But it's not motioned in the python --help. -P does not add unsafe path in sys.path. I think this is useful information and should be included.

Image

Related PR: #31542

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions