]> granicus.if.org Git - python/commit
closes bpo-37803: pdb: fix handling of options (--help / --version) (GH-15193)
authorDaniel Hahler <github@thequod.de>
Thu, 12 Sep 2019 15:46:37 +0000 (17:46 +0200)
committerBenjamin Peterson <benjamin@python.org>
Thu, 12 Sep 2019 15:46:37 +0000 (16:46 +0100)
commit855df7f273c3988c72f01e51ba57091887ec38b2
tree10d74cb5367a17c8b955271badb11887bb428f5f
parentb1a2abdb06408ffc4f13d6ff50351ad49c99afc0
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
Lib/pdb.py
Misc/NEWS.d/next/Tools-Demos/2019-09-12-16-15-55.bpo-37803.chEizy.rst [new file with mode: 0644]