GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `python -I`'s help message missing imply `-P` · Issue #131818 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
python -I's help message missing imply -P#131818
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@bebound
bebound
opened on Mar 28, 2025
Issue body actions

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

  • gh-131818: Add imply -P in -I's help message #131819
  • [3.13] gh-131818: Add imply -P in -I's help message (GH-131819) #131822
  • [3.12] gh-131818: Add imply -P in -I's help message (GH-131819) #131823

Activity

  1. bebound
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Mar 28, 2025
  2. vstinner
    added a commit that references this issue on Mar 28, 2025

    gh-131818: Add imply `-P` in `-I`'s help message (#131819)

    8bd88e2
  3. miss-islington
    added 2 commits that reference this issue on Mar 28, 2025

    pythongh-131818: Add imply `-P` in `-I`'s help message (pythonGH-131819)

    f5db731

    pythongh-131818: Add imply `-P` in `-I`'s help message (pythonGH-131819)

    4a6d5e5
  4. vstinner
    closed this as completedon Mar 28, 2025
  5. vstinner
    added 2 commits that reference this issue on Mar 28, 2025

    [3.12] gh-131818: Add imply `-P` in `-I`'s help message (GH-131819) (#…

    0c88f41

    [3.13] gh-131818: Add imply `-P` in `-I`'s help message (GH-131819) (#…

    5547c89
  6. diegorusso
    added a commit that references this issue on Apr 1, 2025

    pythongh-131818: Add imply `-P` in `-I`'s help message (python#131819)

    21dd0e6
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 enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.