You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support copy.replace() for argparse.Namespace #155043
types.SimpleNamespace supports copy.replace() (gh-109174), but argparse.Namespace, its analogue in argparse, does not.
I propose to support it with the same semantics: copy.replace(args, verbose=True) returns a new namespace with the specified attributes replaced or added.
Activity
gh-155043: Support copy.replace() for argparse.Namespace (#155049)
pythongh-155043: Support copy.replace() for argparse.Namespace (pytho…