[issue18467] argparse - problematic 'default' behavior

2021-12-14 Thread Matěj Týč
Matěj Týč added the comment: Thanks for reaching out. I have no idea whether it helped me or not, sorry for not replying back in a timely manner :-( I think that the feature request/bugreport originates from bad coding practices, when I wanted argparse to perform something more than just

[issue18467] argparse - problematic 'default' behavior

2013-07-15 Thread Matěj Týč
New submission from Matěj Týč: I have an issue with passing default values to arguments. Basically, I would like to have a 'choices' argument (indicating something using capital letters) and perform custom action (adding boolean values to the args namespace). See the bottom of thi