[issue16399] argparse: append action with default list adds to list instead of overriding
25 Dec
2019
25 Dec
'19
4:03 p.m.
Roy Smith <roy@panix.com> added the comment: I just got bit by this in Python 3.5.3. I get why it does this. I also get why it's impractical to change the behavior now. But, it really isn't the obvious behavior, so it should be documented at https://docs.python.org/3.5/library/argparse.html?highlight=argparse#default. ---------- nosy: +roysmith _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue16399> _______________________________________
1849
Age (days ago)
1849
Last active (days ago)
0 comments
1 participants
participants (1)
-
Roy Smith