[Cython] CmdLine.py refactoring

Vitja Makarov vitja.makarov at gmail.com
Tue Aug 9 08:44:03 CEST 2011

2011/8/9 Stefan Behnel <stefan_ml at behnel.de>:
> Stefano, 08.08.2011 22:36:
>> As a proof of its quality, Fedora, Ubuntu and SuSe all ship a
>> python-argparse
>> package for older versions of python (<2.7). Given that the module is
>> self-
>> contained and as small as 80KB, wouldn't be feasible to add it as a build
>> dependency?
> Note that that's huge compared to the current command line parser. The
> current implementation doesn't even use 8K, and it's perfectly
> self-contained as well.
> Could you try to explain what the advantages of your new implementation are?

One more note: with optparser it would be harder to handle options like -Werror,
that's easy to remove them at all, or they could be handled as "W:"

Don't know how it's made in gcc.


More information about the cython-devel mailing list