[IPython-dev] 0.9 beta, anything left?

Fernando Perez fperez.net@gmail....
Thu Aug 14 16:31:19 CDT 2008


On Thu, Aug 14, 2008 at 2:01 PM, Ville M. Vainio <vivainio@gmail.com> wrote:
> On Thu, Aug 14, 2008 at 11:47 PM, Ville M. Vainio <vivainio@gmail.com> wrote:
>
>> I just implemented cd -foo. I'll make another post about it, and add
>> it to changes.txt.
>
> Well, of course I need to change it to cd --foo due to option parsing.
> Stay tuned.

This is a very handy feature, but I wish you'd brought it up for at
least cursory discussion first, because there's one point I worry
about: you are overloading the '--foo'  syntax to have another
secondary meaning, on top of its original 'long options' one.  This
means special-casing code.  In the new architecture, the magics will
be separate objects with a common options parsing machinery that
should be uniform, so there's a good chance we'll have to change a bit
exactly how this works in the near future.

In any case, it's too late right now, I'm working on scipy stuff and
will cut the beta later, so let's leave it in.  But let's try to all
heed to the discussion/review swing that Barry and Gael got us so well
into for all the recent code.  It will help us all build something
that is well integrated and robust for the long haul.

Cheers,

f


More information about the IPython-dev mailing list