[IPython-dev] IPython traitlet problem

Matthias Vogelgesang matthias.vogelgesang@gmail....
Sun Apr 21 05:24:35 CDT 2013

Hi Robert,

On Sat, Apr 20, 2013 at 6:46 PM, Robert McGibbon <rmcgibbo@gmail.com> wrote:
> You just need to call the constructor with a keyword argument.

This works very well, thanks. However, this behaviour kind of violates
what I expect from a Python function: On the one hand, the argument is
required (as expected with a positional argument) but on the other
hand I have to use it like a keyword argument. This leaves a bitter
taste to me, as I will always have to document this behaviour.


Matthias Vogelgesang
Public-Key: http://tinyurl.com/2qcydl

More information about the IPython-dev mailing list