[Cython] a C++ wrapping wishlist

Robert Bradshaw robertwb at gmail.com
Sun May 24 08:19:02 CEST 2015

On Thu, May 21, 2015 at 1:22 PM, Ian Henriksen
<insertinterestingnamehere at gmail.com> wrote:
> On Thu, May 21, 2015 at 2:13 AM Stefan Behnel <stefan_ml at behnel.de> wrote:
>> Someone wrote a list of shortcomings after wrapping some C++ code:
>> http://blog.marcus-brinkmann.de/2014/07/31/cython-trouble/
>> A couple of these issues are due to misunderstandings (specifically the
>> "imports" section) or now-fixed bugs (post is almost a year old), but it
>> seems that some of them are still valid and might be low-hanging fruit.


> That's a very well-thought-out list. Overloading assignment and
> defining custom type coercions would be useful features to have.

This is, however, a slippery slope.

> An idiomatic way of writing signatures for variadic templates and

Yes, template support certainly has a lot to be desired.

> letting functions returning references be used as left-values are
> two other things that would be very nice to see.

Letting arbitrary expressions be lvalues would be a major change to
the Python API...

More information about the cython-devel mailing list