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 — gh-131818: Add imply `-P` in `-I`'s help message by bebound · Pull Request #131819 · python/cpython

Conversation

@bebound

@bebound bebound commented Mar 28, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Supplement of #31542

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bebound
Init
893fe0c
@bebound
bebound requested a review from ericsnowcurrently as a code owner March 28, 2025 04:18
@bedevere-app

bedevere-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added the awaiting review label Mar 28, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Mar 28, 2025
python -I's help message missing imply -P #131818
Closed
@skirpichev skirpichev added the skip news label Mar 28, 2025
@skirpichev

skirpichev commented Mar 28, 2025

Copy link
Copy Markdown
Member

CC @vstinner

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

skirpichev
skirpichev approved these changes Mar 28, 2025
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting core review and removed awaiting review labels Mar 28, 2025
vstinner
vstinner approved these changes Mar 28, 2025
View reviewed changes

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. It's consistent with the doc: https://docs.python.org/dev/using/cmdline.html#cmdoption-I

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Mar 28, 2025
@vstinner
vstinner merged commit 8bd88e2 into python:main Mar 28, 2025
@bedevere-app bedevere-app Bot removed the awaiting merge label Mar 28, 2025
@vstinner vstinner added the needs backport to 3.13 only security fixes label Mar 28, 2025
@miss-islington-app

miss-islington-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

Thanks @bebound for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 28, 2025
@bebound @miss-islington
pythongh-131818: Add imply -P in -I's help message (pythonGH-131819)
f5db731
(cherry picked from commit 8bd88e2)

Co-authored-by: Hang <[email protected]>
@bedevere-app

bedevere-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

GH-131822 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Mar 28, 2025
@vstinner vstinner added the needs backport to 3.12 only security fixes label Mar 28, 2025
@miss-islington-app

miss-islington-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

Thanks @bebound for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 28, 2025
@bebound @miss-islington
pythongh-131818: Add imply -P in -I's help message (pythonGH-131819)
4a6d5e5
(cherry picked from commit 8bd88e2)

Co-authored-by: Hang <[email protected]>
@bedevere-app

bedevere-app Bot commented Mar 28, 2025

Copy link
Copy Markdown

GH-131823 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Mar 28, 2025
@vstinner

vstinner commented Mar 28, 2025

Copy link
Copy Markdown
Member

Merged, thank you.

bebound reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vstinner pushed a commit that referenced this pull request Mar 28, 2025
@miss-islington @bebound
[3.12] gh-131818: Add imply -P in -I's help message (GH-131819) (#…
0c88f41
…131823)

gh-131818: Add imply `-P` in `-I`'s help message (GH-131819)
(cherry picked from commit 8bd88e2)

Co-authored-by: Hang <[email protected]>
vstinner pushed a commit that referenced this pull request Mar 28, 2025
@miss-islington @bebound
[3.13] gh-131818: Add imply -P in -I's help message (GH-131819) (#…
5547c89
…131822)

gh-131818: Add imply `-P` in `-I`'s help message (GH-131819)
(cherry picked from commit 8bd88e2)

Co-authored-by: Hang <[email protected]>
@chris-eibl chris-eibl mentioned this pull request Mar 29, 2025
docs: -I also implies -P #131539
Merged
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
@bebound @diegorusso
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

Reviewers

@vstinner vstinner vstinner approved these changes
@skirpichev skirpichev skirpichev approved these changes
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@bebound @skirpichev @vstinner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — 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.