Hello,
- Yes, I prefer to work with infer_types = False most of the time. I can
see how this might be rare, so in general this isn't an important issue.
- I think the best solution would be that compiler directives like
"infer_types" should not propagate into the cimported files at all, but
rather
https://github.com/cython/cython/issues/1071
On 02/08/2020 18:23, Stefan Behnel wrote:
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 b
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 agr
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.
On 02/08/2020 14:18, Stefan Behnel wrote:
Oliver Haas schr
Oliver Haas schrieb am 02.08.20 um 13:44:
> The array.pxd (
> https://github.com/cython/cython/blob/master/Cython/Includes/cpython/array.pxd)
> requires infer_types = True when cimported. Is there a reason not to
> explicitly type the variable op as array in the lines 134 and 141?
The return type
Hello everyone,
The array.pxd (
https://github.com/cython/cython/blob/master/Cython/Includes/cpython/array.pxd)
requires infer_types = True when cimported. Is there a reason not to
explicitly type the variable op as array in the lines 134 and 141?
Regards
Oliver
__