scoder

Results 650 comments of scoder

> the number of node types visited by both `DeclarationWriter` and the `TypeStubGenerator` is fairly small. Since the `CodeWriter` module has a pretty complete Python code generator, the total overlap...

I think the original author stopped working on it. Help is welcome. Look through my previous comments to see what needs to be changed.

I'd be happy to see this resumed. Several problems that existed at the time have been solved now, for features like the imported pure Python mode or dataclasses. The Cython...

Agreed that this is not something that *needs* to go into 3.0. I hope for 3.1 to go out weeks and not months after 3.0, it being the version that...

> My feeling is that option 1 is probably right? Yes. `typeof()` is a low-level (if not internal) tool that is tied into Cython's type system to show low-level details....

I was mostly curious how difficult it would be to revive this. Several utility code functions still have merge conflicts and probably need a rewrite. I'm not sure whether it's...

Could you please provide the complete stack trace? You stripped the important part at the end.

Ping @nedbat. Any hint on what's missing to make this work?

Our coverage plugin is here: https://github.com/cython/cython/blob/master/Cython/Coverage.py We don't need access to events, we just do file lookups and line matching.

> `SystemError: cannot instrument shim code object '__init__'` This happens because Cython's code objects have empty byte code: https://github.com/python/cpython/blob/f19f1d8563fb3abbb673812f16e2be5f10af42e4/Python/instrumentation.c#L2043-L2046 I considered filling the byte code with NOPs or similar to...