da-woods

Results 135 issues of da-woods

**Is your feature request related to a problem? Please describe.** Suppose you have a comparison of an untyped variable with an int ```cython def f(x): if x == 1: return...

**To Reproduce** Code to reproduce the behaviour: ```cython cdef class C: a = 1 del a ``` fails with an attribute error on import. Generates the C code: ``` if...

via an additional decorator for cdef classes. Closes #5027 and removes blocker for #5023

Fixes https://github.com/cython/cython/issues/4936 A few notes on the implementation: * I looked at both `**` and `**` since they're the points where it differs from Python. * `**` now usually returns...

### Is your feature request related to a problem? Please describe. Clang has a tool called "opt-viewer" which gives annotated HTML with slightly cryptic notes about what optimizations it tried...

Fixes #4804 (but not hugely satisfactorally)

The existing check didn't really work (but I've left it...). I think it's based on the quote: > POSIX recommends checking if the macro _Imaginary_I is defined to > identify...

### Is your feature request related to a problem? Please describe. `Py_TPFLAGS_SEQUENCE` and `Py_TPFLAGS_MAPPING` were added in 3.10 and are the mechanism that pattern matching uses to decide if a...

Supercedes https://github.com/cython/cython/pull/3702 (but fixes the same error). PyInit_* needs to return a new reference to the module object so effectively we have to transfer ownership of a reference to __pyx_m....