[Cython] Infer types and array.pxd

Stefan Behnel stefan_ml at behnel.de
Sun Aug 2 13:23:41 EDT 2020


Am 2. August 2020 17:02:39 MESZ schrieb da-woods:
> I'm not convinced that compiler directives like "infer_types" should 
> propagate into the cimported files at all.
>
> It seems reasonable to me that these should be controlled by the author
> of the pxd file, not by the eventual cimporter.

I agree. It might not be as strikt as that, there could still be directives that should be inherited, but definitely not all of them.

Can't look right now, but there might already be a ticket about this.

Stefan


More information about the cython-devel mailing list