C++ structs, namespace, and auto-conversion of struct to dict
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-di... While there are obvious workarounds, none of them are ideal. Is there a road map for addressing this issue? If not, what would it take to do so, and where in the code should one start looking? Thanks, Kevin
On Mon, Feb 1, 2016 at 5:03 PM, Kevin Thornton <krthornt@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-di...
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/fa946e8435a4dcc3497fc7b0f4e87256d408...
Great--thanks! On Tue, Feb 2, 2016 at 12:56 AM Robert Bradshaw <robertwb@gmail.com> wrote:
On Mon, Feb 1, 2016 at 5:03 PM, Kevin Thornton <krthornt@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-di...
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/fa946e8435a4dcc3497fc7b0f4e87256d408... _______________________________________________ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel
participants (2)
-
Kevin Thornton -
Robert Bradshaw