gh-149614: Restore deepcopiability of argparse.ArgumentParser instances #149617
Add tests to check an argument parser is copiable.
e3c3dbec
Only return empty strings for the specific color fields in argparse.
0457d17a
rename class attribute
9516991e
Test the field lists match directly
e290465e
📜🤖 Added by blurb_it.
3b5f6356
Only raise on dunder names
0475e1ad
On the unlikely chance that object adds a `__deepcopy__`, let's just use
dab2c92d
Raise on any private attribute
b42718db
Test shallow and deep copy behaviour is as expected.
56463765
Merge remote-tracking branch 'origin/unbreak-argparse-copy' into unbr…
c6659176
sobolevn
approved these changes
on 2026-05-10
Update Misc/NEWS.d/next/Library/2026-05-09-21-02-08.gh-issue-149614.U…
3a79f28d
Merge branch 'main' into unbreak-argparse-copy
78007b9c
savannahostrowski
changed the title gh-149614 - Restore deepcopiability of argparse.ArgumentParser instances gh-149614: Restore deepcopiability of argparse.ArgumentParser instances 33 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub