Perhaps this is OT, but since command line parsing is part of
configuration, I figure I'd throw it out there. My scripts often have
configuration that the command line can override and I loosely follow
the example hierarchy[0] listed in The Art of Unix Programming.
Some configuration I want in a
On Mon, Sep 28, 2009 at 9:37 AM, Steven Bethard
wrote:
> On Mon, Sep 28, 2009 at 8:26 AM, Michael Foord
> wrote:
>> m h wrote:
>>>
>>> Perhaps this is OT, but since command line parsing is part of
>>> configuration, I figure I'd throw it out there.
On Tue, Sep 29, 2009 at 2:31 PM, Paul Moore wrote:
> 2009/9/28 Yuvgoog Greenle :
>> 1. There is no chance of the script killing itself. In argparse and optparse
>> exit() is called on every parsing error (btw because of this it sucks to
>> debug parse_args in an interpreter).
>
> That one does wor
Howdy Folks-
I hope this is not too off topic. Sadly the current sys.settrace only
allows tracing at the line level. This isn't sufficient to do branch
and path coverage. The main problem is that many boolean operations
can appear on a single line, and so you can't be sure which
conditional bra