scoder
scoder
The problem with special methods is that they lack a `__code__` object etc., and thus fail the test for `_signature_is_functionlike()` in `inspect.py`. They are not `CythonFunction` objects but the plain...
> By the way, it seems `__text_signature__` is normally generated, on C functions, from the first line of the docstring: https://github.com/python/cpython/blob/master/Modules/clinic/_bisectmodule.c.h#L6 This isn't referring to a special method, though. With...
It's possible that there are tiny differences that were only fixed in the 3.0 series and not in 0.29.x. But you shouldn't commonly run into those. In general, it should...
So, first of all (just to state the obvious), `ModeOptions` is an extension type. It is not itself affected by the `binding` directive, which replaces the standard CPython `PyCFunction` implementation...
Thanks @da-woods for digging this up. I have a couple of comments. - `_Py_NewReference` – this can happen when copying code directly from CPython. It shouldn't happen, though, because it's...
> an incorrect determination of whether or not the enum is an lvalue Well, an enum is not an lvalue. It's a type. It cannot be assigned to. > the...
So, basically, what you are saying is that you want to write `from declarations cimport E` in `definitions.pxd` and `from declarations import E` in `definitions.pyx`. Is that right? And that...
Looking around a bit, [it seems](https://gcc.gnu.org/wiki/Var_Tracking_Assignments) that variable tracking is mostly a debugging feature. Would be nice to locally disable it somehow, but I can't find a way to do...
To add some more data points, the slowest test files to compile in clang are actually not those that have the most complex module init functions but a large number...
Ah, yeah, right. We don't have ccache on macOS. Probably something we should change.