Skip to content

bpo-37803: pdb: fix handling of options (--help / --version) #15193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Aug 9, 2019

The "--" should not be included with long options passed to
getopt.getopt.

Fixes https://bugs.python.org/issue37803

https://bugs.python.org/issue37803

Appears to be a problem from the beginning when added in 3.2 (e023091).

The "--" should not be included with long options passed to
getopt.getopt.

Fixes https://bugs.python.org/issue37803
@benjaminp benjaminp merged commit 855df7f into python:master Sep 12, 2019
@miss-islington
Copy link
Contributor

Thanks @blueyed for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-16066 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link

GH-16067 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 12, 2019
…ythonGH-15193)

The "--" should not be included with long options passed to
getopt.getopt.

Fixes https://bugs.python.org/issue37803
(cherry picked from commit 855df7f)

Co-authored-by: Daniel Hahler <[email protected]>
@blueyed blueyed deleted the fix-pdb-getopt branch September 12, 2019 15:51
miss-islington added a commit that referenced this pull request Sep 12, 2019
…H-15193)

The "--" should not be included with long options passed to
getopt.getopt.

Fixes https://bugs.python.org/issue37803
(cherry picked from commit 855df7f)

Co-authored-by: Daniel Hahler <[email protected]>
miss-islington added a commit that referenced this pull request Sep 12, 2019
…H-15193)

The "--" should not be included with long options passed to
getopt.getopt.

Fixes https://bugs.python.org/issue37803
(cherry picked from commit 855df7f)

Co-authored-by: Daniel Hahler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants