Skip to content
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

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

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
@miss-islington
Copy link
Contributor

miss-islington commented Sep 12, 2019

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

bedevere-bot commented Sep 12, 2019

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

@bedevere-bot
Copy link

bedevere-bot commented Sep 12, 2019

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 <github@thequod.de>
@blueyed blueyed deleted the fix-pdb-getopt branch Sep 12, 2019
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 <github@thequod.de>
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 <github@thequod.de>
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.

None yet

5 participants