]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:04:34 +0000 (09:04 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2019 16:04:34 +0000 (09:04 -0700)
commit7da8c0aee2039685f3eff878610684f94f7f7873
tree9b501df9bdd97b302d40404fdb93946bfb583f4c
parente3c25fc902eedcd5c593fac58f35645961f55bf4
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]