Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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