[Cython] C++ structs, namespace, and auto-conversion of struct to dict

Kevin Thornton krthornt at uci.edu
Tue Feb 2 07:40:51 EST 2016


Great--thanks!

On Tue, Feb 2, 2016 at 12:56 AM Robert Bradshaw <robertwb at gmail.com> wrote:

> On Mon, Feb 1, 2016 at 5:03 PM, Kevin Thornton <krthornt at uci.edu> wrote:
> > Hi,
> >
> > I recently ran into an issue where I found that Cython will not generate
> > code to auto-convert structs do dicts if the struct is declared in a C++
> > namespace.
> >
> > The issue has also been discussed here:
> >
> http://stackoverflow.com/questions/29603562/auto-conversion-of-structs-to-dicts-in-cython
> >
> > While there are obvious workarounds, none of them are ideal.
> >
> > Is there a road map for addressing this issue?
>
> I simply didn't know about it.
>
> > If not, what would it take
> > to do so, and where in the code should one start looking?
>
>
> https://github.com/cython/cython/commit/fa946e8435a4dcc3497fc7b0f4e87256d40844ba
> _______________________________________________
> 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/20160202/49b270f7/attachment.html>


More information about the cython-devel mailing list