You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bpython quits when parsing empty arguments with argparse module #745
I was testing around some things with the argparse module in bpython when suddenly bpython quit on me with error code 1. I tried to break the problem down and the code below seems to be the minimal reproducer:
Activity
sebastinas commentedon Jan 3, 2020
That's almost consistent with python's behavior. In fact, it should already quit after the first call of
parse_args():So, there is a bug, but a different one.