diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-10-17 23:55:11 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-10-17 23:55:11 (GMT) |
commit | 7570cbdc6b394cd89990a9252284c7e4a87bd6f1 (patch) | |
tree | f1427aed1d42f7de3dc9c58954e2930f0919aa04 /Misc | |
parent | 685b3495e1fd9853b1ca5960db3e3cb705920d4f (diff) | |
download | cpython-7570cbdc6b394cd89990a9252284c7e4a87bd6f1.zip cpython-7570cbdc6b394cd89990a9252284c7e4a87bd6f1.tar.gz cpython-7570cbdc6b394cd89990a9252284c7e4a87bd6f1.tar.bz2 |
#9351: set_defaults on subparser is no longer ignored if set on parent.
Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored. Now
the subparser set_defaults is honored.
Patch by Jyrki Pullianinen.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ Core and Builtins Library ------- +- Issue #9351: Defaults set with set_defaults on an argparse subparser + are no longer ignored when also set on the parent parser. + - Issue #21991: Make email.headerregistry's header 'params' attributes be read-only (MappingProxyType). Previously the dictionary was modifiable but a new one was created on each access of the attribute. |