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

Nick Coghlan ncoghlan at gmail.com
Sat Oct 3 07:15:53 CEST 2009

Toshio Kuratomi wrote:
> About exit(), I agree with others about wanting to catch the exception
> myself and then choosing to exit from the code.  I'm not sure that it's
> actually useful in practice, though...it might just feel cleaner but not
> actually be that helpful.

As others have pointed out, if you want to do that then you can just
catch SystemExit.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list