da-woods

Results 135 issues of da-woods

See https://bugs.python.org/issue45122 Posting here as advance notice because you look to use this API to generate tracebacks (similar to Cython and MyPyc). The alternative options at the moment appear to...

delayed

**Is your feature request related to a problem? Please describe.** The Numpy C API defines a way to generate ["ufuncs" from a C function pointer](https://numpy.org/doc/stable/reference/c-api/ufunc.html). The C API takes a...

feature
Cython Language Feature
numpy

Support pickling of CyFunctions. Will eventually close #2584 Follows the scheme outlines in the comments of that issue. I'm using the function cname as the key (because I believe it...

Part of the attempt to split https://github.com/cython/cython/pull/3383 into more reasonable pieces. This includes https://github.com/cython/cython/pull/3961 by necessity (so will look a bit smaller if that is merged ahead of this PR)...

**Note:** draft PR - I'm submitting it mainly to see the test results. I don't know whether it's the approach we want to take or not yet. I don't think...

For example, a fused typedef that contains a vector of a fused type. This needs to do a more complex iteration to discover the range of fused types that its...

It needs a bit of translation to get it Cythonable (since Cython dataclasses are extension types and so must be at the global scope). At the moment bugs are identified...

Testing

The issue was that hash wasn't generated for a 0 field class, and for a 1 field class it hashed the field rather than a len-1 tuple containing the field....

Part of https://github.com/cython/cython/issues/4956 Currently a draft because it's based on https://github.com/cython/cython/pull/4955

- [ ] ('TestCase', 'test_no_options'), # `@dataclass()` Fixed in #4957 - [ ] ('TestCase', 'test_field_no_default'), # field() Fixed in #4957 - [ ] ('TestCase', 'test_init_in_order'), # field() Fixed in #4957...