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
ArgumentParser.parse_args with Namespace subclass does not work anymore #10400
The first overload now shadows the following. E.g., ArgumentParser().parse_args(namespace=MyNamespace()) should match the third but actually matches the first, which unexpectedly returns Namespace instead of MyNamespace.
Activity
srittau commentedon Jul 3, 2023
See discussion in #10387.