scoder
scoder
Thanks. Could you please also add a couple of tests? See tests/run/cpp*.pyx.
If someone gets this to work, I'd be happy to receive a PR.
>I'm also not sure what rules we should use to pick the preferred type. The one complication is that `extern` typedefs often aren't completely true. We probably compare types for...
We might be able to mitigate this by generating a more suitable cast, at least in some cases.
What's failing here is that we cast the `self` argument to the inherited type of the original `self` argument defining the method, not the `self` of the final C function...
If this is the best we currently have, then we can add the pragma for the time being. It works around a real user problem. But we should limit it...
See https://github.com/cython/cython/pull/6039
I'd use `lupa.lua_type(obj) == 'table'`, and try to avoid the `list(range())`, but yes, it would usually be something like this, depending on your specific needs. It's not clear that an...
I'm seeing failures in the pure Python runs in https://github.com/cython/cython/pull/5907 that I relate to this PR, e.g.: ``` ====================================================================== ERROR: test_cycache_switch (Cython.Build.Tests.TestCyCache.TestCyCache.test_cycache_switch) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/work/cython/cython/Cython/Build/Tests/TestCyCache.py",...