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

Barry Warsaw barry at python.org
Wed Sep 30 02:56:22 CEST 2009


On Sep 29, 2009, at 8:25 PM, Nick Coghlan wrote:

> getopt is very procedural - you define a minimal amount regarding the
> options you accept, but then do the bulk of the command line  
> processing
> yourself

Right, and we shouldn't underestimate the cognitive load this  
imposes.  All those twisty if-conditions are de-facto part of getopt's  
API.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090929/cc02ff8b/attachment-0001.pgp>


More information about the Python-Dev mailing list