[Cython] object to struct conversion
Stefan Behnel
stefan_ml at behnel.de
Wed Aug 3 18:20:55 CEST 2011
mark florisson, 03.08.2011 16:28:
> Is there any specific reason objects cannot coerce to structs (from
> e.g. dicts?). It would be convenient for memoryviews, then you could
> assign dicts (or any mapping) to items in the memoryview from Python
> space. You could also have structs as argument to def functions etc.
> Any objection to this addition? The implementation is pretty
> straightforward.
Robert implemented these things a while ago. I think I recall that there
were unsupported use cases, but I'm not sure what exactly is missing here.
Stefan
More information about the cython-devel
mailing list