[issue43874] argparse crashes on subparsers with no dest/metava

2021-08-03 Thread Terence Honles
Terence Honles added the comment: Closing as a duplicate of https://bugs.python.org/issue29298 (which was recently merged and caused conflicts with my patch) -- resolution: -> duplicate stage: patch review -> resolved status: open -&g

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-24 Thread Terence Honles
Terence Honles added the comment: Sorry I didn't know what to put, and now that you changed it I understand what behavior means. Thanks for changing it. Should I do anything further? Not sure how to proceed. -- ___ Python tracker &

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-18 Thread Terence Honles
Terence Honles added the comment: Thanks for the context Paul. I didn't think to look in the tracker for an existing issue, sorry! I'm not sure if documenting the requirement is sufficient or something that a user would go towards with the error as it is. I _might_ suggest t

[issue43874] argparse crashes on subparsers with no dest/metava

2021-04-16 Thread Terence Honles
New submission from Terence Honles : When creating a simple required subparser the following will result in an error instead of an error message: >>> from argparse import ArgumentParser >>> >>> parser = ArgumentParser() >>> subparsers =