]> granicus.if.org Git - python/commit
closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 12 Sep 2019 16:05:52 +0000 (09:05 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2019 16:05:52 +0000 (09:05 -0700)
commit21bfff9a5a766acfbdd899687850f563893a0f9e
treeeaa56da96d194aec0bd4b15492db3bd7adcf1a3c
parent6dc3e61c511d3e13ce4eac86c8b6abdff58e3617
closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193)

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

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

Co-authored-by: Daniel Hahler <github@thequod.de>
Lib/pdb.py
Misc/NEWS.d/next/Tools-Demos/2019-09-12-16-15-55.bpo-37803.chEizy.rst [new file with mode: 0644]