scoder

Results 651 comments of scoder

> Tests `cpdef_enums` and `cpdef_enums_import` failed in some jobs, but both are executed correctly on my local machine. I am not sure why they failed in CI :-( Sorry, my...

Regarding the module scopes, I tried the following: ``` >>> import Cython >>> Cython.__file__ 'Cython/__init__.py' >>> Cython.__name__ 'Cython' >>> import Cython.__init__ >>> Cython.__init__.__name__ 'Cython.__init__' >>> Cython.__init__.__file__ 'Cython/__init__.py' ``` These attributes...

Thanks for the report. Could be some change in the plugin API. Any investigation welcome.

1) We need to add a test case for this. 2) There's probably some kind of special-casing that we need to do for `.pxd` files in the plugin. Or maybe...

According to my [last comment](https://github.com/cython/cython/issues/3515#issuecomment-646870790), this needs a) a test and b) more investigation following that. Unsurprisingly, someone has to do something in order to resolve this issue.

Debugging is really what is needed here. At some point, either coverage or the plugin in `Cython.Coverage` take a wrong decision about the file, the function, or the coverage data....

So, coverage.py doesn't know about .pyx or .pxd files. It just sees the tracing data that comes in, and the executed files that get reported. The Cython tracer should report...

That seems to represent pretty much the use case of mypyc, and I think there definitely is such a use case. How important it is, I don't know, but it...

I'm generally in favour of such a mode (or improved annotation typing, or both), but the specific details seem worth discussing. From PR https://github.com/cython/cython/pull/4883#issue-1300855865: > * `int` -> C `int`...

It might actually be enough to do only the cimport and not the Python import in your case. Did you try that?