da-woods

Results 135 issues of da-woods

What I'm mainly worried building things that look like free-threaded modules with the wrong macros on Windows (since it's actually quite difficult to get it right at the moment). I...

nogil CPython

Expectations management... --------------------------- I guess it's debatable whether we want this and how long we want to keep it, but for now I think it's a good idea. It only...

nogil CPython

### Describe your issue * Identify scopes that need thread safety. That's basically everything except functions without parallel blocks in, and generators without parallel blocks in (since generators are already...

nogil CPython

### Is your feature request related to a problem? Please describe. ```cython #distutils: language=c++ from libcpp.vector cimport vector cdef vector[double] f(): cdef vector[double] v return v ``` This generates ```...

### Describe your issue If we're aiming for "refcounting needs to be thread-safe in free-threading mode" then I think we also need to apply it to typed memoryviews. The internal...

nogil CPython

Extern typedefs get left to the C compiler to sort out since we can't rely on Cython having been told correctly. Closes #6161

### Describe your issue https://github.com/cython/cython/pull/6178 proposes adjusting `__Pyx_GetItemInt_List_Fast` to ignore `boundscheck` for free-threading Python and use `PyList_GetItemRef` (which does bounds-checking, but has the advantage that the reference counting is thread-safe)....

nogil CPython

Fixes #6192. The basic issue is that the argument is deduced to be dynamic default argument, and then at a late stage is optimized into an empty string literal. This...

defect
Code Generation

I've been working on getting GraalPython tested on the Cython CI. It mostly works but it's really slow. One aspect of this is the time spent running Cython itself. Note...

"Fixes" #6339 by at least making the source of the error really obvious. I kind of expect this to break some code, so maybe we should make it a warning?

Error Reporting