summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2021-11-12 03:53:23 (GMT)
committerGitHub <noreply@github.com>2021-11-12 03:53:23 (GMT)
commit807f839bbfd5805fb76eb3436c9252a0441296eb (patch)
tree18625893a4b2f7a568169872f606d616602e5ac1 /Misc
parent27b69e60daa7b191ee6bc76fb6d5fb7d793062ab (diff)
downloadcpython-807f839bbfd5805fb76eb3436c9252a0441296eb.zip
cpython-807f839bbfd5805fb76eb3436c9252a0441296eb.tar.gz
cpython-807f839bbfd5805fb76eb3436c9252a0441296eb.tar.bz2
bpo-45235: Revert an argparse bugfix that caused a regression (GH-29525)
* Revert "bpo-45235: Fix argparse overrides namespace with subparser defaults (GH-28420) (GH-28443)" This reverts commit a18d52269ab6071a605d6c72f6af585a4c533ca4.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2021-11-11-13-03-17.bpo-45235.8ZbkHa.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-11-11-13-03-17.bpo-45235.8ZbkHa.rst b/Misc/NEWS.d/next/Library/2021-11-11-13-03-17.bpo-45235.8ZbkHa.rst
new file mode 100644
index 0000000..f73589c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-11-11-13-03-17.bpo-45235.8ZbkHa.rst
@@ -0,0 +1,3 @@
+Reverted an argparse bugfix that caused regression in the handling of
+default arguments for subparsers. This prevented leaf level arguments from
+taking precedence over root level arguments.