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 — bpo-39467: allow user to deprecate CLI arguments by 4383 · Pull Request #18208 · python/cpython

Conversation

@4383

@4383 4383 commented Jan 27, 2020 •
edited by bedevere-bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

bpo-39467: allow user to deprecate CLI arguments

Today it's not possible to deprecate CLI arguments designed with argparse, it could be useful to introduce deprecation feature in argparse to allow developers to inform their apps's users when an argument is planed to be removed in the future.

These changes allow developers to deprecate CLI arguments.

https://bugs.python.org/issue39467

Sorry, something went wrong.

Uh oh!

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

NCPlayz and jstriebel reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Jan 27, 2020
@bedevere-bot bedevere-bot added the awaiting review label Jan 27, 2020
@4383
4383 force-pushed the deprecatedcli branch from 4266a52 to 8477506 Compare January 27, 2020 18:19
@rhettinger rhettinger self-assigned this Jan 27, 2020
@4383
4383 force-pushed the deprecatedcli branch from 2def6ea to f4d9614 Compare January 28, 2020 08:11
@4383
bpo-39467: allow user to deprecate CLI arguments
7c1d2be
@4383
4383 force-pushed the deprecatedcli branch from 8889a07 to 7c1d2be Compare January 28, 2020 12:01
@rhettinger rhettinger removed their assignment Dec 29, 2021
@4383 4383 mannequin mentioned this pull request Apr 10, 2022
Allow to deprecate CLI arguments in argparse #83648
Closed
@ezio-melotti ezio-melotti removed the CLA signed label Jul 13, 2022
@serhiy-storchaka serhiy-storchaka added the stale Stale PR or inactive for long period of time. label Dec 27, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jan 15, 2024
@serhiy-storchaka
pythongh-18208: Support deprecation of options, arguments and subcomm…
0244cd8
…ands in argparse
@serhiy-storchaka serhiy-storchaka mentioned this pull request Jan 15, 2024
gh-83648: Support deprecation of options, arguments and subcommands in argparse #114086
Merged
@serhiy-storchaka

serhiy-storchaka commented Jan 15, 2024

Copy link
Copy Markdown
Member

See also #114086.

All reactions

Sorry, something went wrong.

Uh oh!

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

@serhiy-storchaka serhiy-storchaka closed this Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

awaiting review stale Stale PR or inactive for long period of time.

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.

6 participants

@4383 @serhiy-storchaka @rhettinger @the-knights-who-say-ni @ezio-melotti @bedevere-bot
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.