scoder

Results 416 comments of scoder

I've seen people use `--embed` on the ML from time to time, so I'd not consider it unhelpful as it is. I concur that it shouldn't cover more complex use...

BTW, please don't force-push the changes. That makes them more difficult to review, and also to look up the changes later on. Just add new ones, we'll squash the whole...

Thanks for the report. Cython doesn't actually build the `.pyd` file itself, that's up to distutils/setuptools. Can't say what's going wrong here right now, but it seems funny that it...

Since CPython 3.9, it is possible to inherit from PyCFunction. We could try if we can do this for CyFunction. There is a certain risk of triggering incorrect special handling...

> My personal opinion is even much radical to be honest. I think that cython should have built-in fixed-with types I agree and created #4981 for it. That said, I...

I've never come across "extern C++", so I'm probably the wrong person to review this, but I'd be happy to see a pull request that contains a test showing what...

I wouldn't mind inserting a user definable macro in the `PyInit_…` declaration. Look for the usage of `__Pyx_PyMODINIT_FUNC` in `ModuleNode.py`. Seems worth a new test as well. You can add...

Hmm, yes, that should normally work. However, removing those two lines looks correct to me. Maybe there's still something wrong in the coercion code for C++ classes here? That would...

See #1274 for the original ticket. Basically, your `A.b` should not be special cased as a `staticmethod` by Cython, whereas `A.a` should. For `A.b`, things should be left to the...

Probably not a Cython issue. Make sure you initialise the Python runtime for C++ threads before you use it, and make sure you initialise the cimported API before you use...