[Python-Dev] PEP 389: argparse - new command line parsing module

Paul Moore p.f.moore at gmail.com
Wed Sep 30 11:03:15 CEST 2009

2009/9/30 Greg Ewing <greg.ewing at canterbury.ac.nz>:
> Paul Moore wrote:
>> I'd rather argparse (or any library function)
>> didn't call sys.exit on my behalf - it should raise an exception.
> Actually, sys.exit() *does* raise an exception (i.e.
> SystemExit) that you can catch if you want.

That's a good point...

More information about the Python-Dev mailing list