Closed dmitriy-serdyuk closed 4 years ago
Fixed by https://github.com/lebrice/SimpleParsing/pull/9#issue-361282316
Instead of raising an Exception, I actually just parse the second set of arguments, since that is what argparse
seems to do in such a case. I'll add some more complicated tests, but the simple cases seem solved for now.
Describe the bug Script hangs up when trying to call
parser.parse_args()
two times. It doesn't usually happen in real code, but I think exception would be better than hangup.To Reproduce
Expected behavior Does not hang up.