| commit | 11d4b54b88063efbeb8968263dfa77dcfb816f8c | [log] [tgz] |
|---|---|---|
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Oct 07 23:27:11 2024 +0200 |
| committer | GitHub <noreply@github.com> | Tue Oct 08 00:27:11 2024 +0300 |
| tree | cee4e92f6a84755713350c73775f761d49d60c2a | |
| parent | 597b6211ab6ddbf1bc5bdf15d404c1a9a94d04af [diff] |
[3.13] gh-116850: Fix argparse for namespaces with not directly writable dict (GH-124667) (GH-124757) It now always uses setattr() instead of setting the dict item to modify the namespace. This allows to use a class as a namespace. (cherry picked from commit 95e92ef6c74e973ea13d15180190d0fa2af82fbf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>