[Cython] Automatic conversion with fixed-size C arrays

Kurt Smith kwmsmith at gmail.com
Sat Aug 16 19:51:30 CEST 2014


Apologies for the radio silence: the original project that motivated this
work has a deadline, so I've had to set this aside for now.  I fully intend
to return to this once that's done.

On Thu, Jul 31, 2014 at 11:34 PM, Robert Bradshaw <robertwb at gmail.com>
wrote:

> We can move to the PR, makes it easier to do line commenting.
>
> On Tue, Jul 29, 2014 at 9:54 PM, Kurt Smith <kwmsmith at gmail.com> wrote:
> > On Mon, Jul 28, 2014 at 11:29 PM, Kurt Smith <kwmsmith at gmail.com> wrote:
> >>
> >> On Mon, Jul 28, 2014 at 11:02 AM, Robert Bradshaw <robertwb at gmail.com>
> >> wrote:
> >>>
> >>> On Sun, Jul 27, 2014 at 9:34 PM, Kurt Smith <kwmsmith at gmail.com>
> wrote:
> >>>
> >>> > I have sorted out all the code
> >>> > generation pieces and nearly have a minimal example working, and will
> >>> > have
> >>> > something for you to review soon.  From what I can tell, Cython has
> >>> > some
> >>> > baked-in assumptions when it comes to assignment statements.  Telling
> >>> > Cython
> >>> > that in this case, no, don't assign to something at the C level,
> >>> > instead
> >>> > generate a function call and pass in the lvalue by reference takes
> some
> >>> > doing.
> >>>
> >>> Yeah, I'm not too surprised about that.
> >>>
> >>
> >> I have an initial version working for assigning a Python object to a
> >> fixed-size array.
> >
> >
> > https://github.com/cython/cython/pull/308
> >
> > Do you prefer that we continue discussion on this thread, or on the PR?
> >
> > _______________________________________________
> > cython-devel mailing list
> > cython-devel at python.org
> > https://mail.python.org/mailman/listinfo/cython-devel
> >
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> https://mail.python.org/mailman/listinfo/cython-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20140816/f7ca15a8/attachment.html>


More information about the cython-devel mailing list