Re: [C++-sig] functools.partial vs boost::python

2009-12-03 Thread troy d. straszheim
Neal Becker wrote: Has anyone noticed that a function created with boost::python using args() to give keyword arguments doesn't seem to work with functools.partial keyword arguments (but does with positional args)? For example, I have this function: class_ ("uniform_real", "Uniform float

[C++-sig] functools.partial vs boost::python

2009-12-02 Thread Neal Becker
Has anyone noticed that a function created with boost::python using args() to give keyword arguments doesn't seem to work with functools.partial keyword arguments (but does with positional args)? For example, I have this function: class_ ("uniform_real", "Uniform float distribution", bp::i