da-woods

Results 135 issues of da-woods

### Is your feature request related to a problem? Please describe. This'd probably apply mainly to functions with annotations dictionaries. For example ``` def f(a: int, b: float): pass ```...

Closes #5619 This avoids "cheating" in the limited API by just redefining stuff from the real API. Instead it looks it up at runtime instead (which is probably still fragile,...

limited api

### Describe your issue According to the docs: > c_string_encoding (ascii, default, utf-8, etc.) > > Globally set the encoding to use when implicitly coercing char* or std:string to a...

1. Speed up `__Pyx_PyMethod_New` just by caching a reference to the MethodType. It's potentially called a lot so this is worthwhile. 2. Fix `__Pyx__IsSameCyOrCFunction` - this applies to the regular...

limited api

Closes https://github.com/cython/cython/issues/6221 (and obsoletes https://github.com/cython/cython/issues/6215) In principle this should cover a large chunk of thread safety issues in Cython. It applies to anywhere where we hold the GIL. There's three...

nogil CPython

### Is your feature request related to a problem? Please describe. I think there's scope to deduplicate some of the function unpacking code. e.g.: ``` def f(a, b, c): pass...

### Describe the bug The logic used to work out "flow control" is wrong for PyObjects in parallel blocks. If the object is assigned to within the block then it...

Adds a new option to setup.py to compile Cython in the limited API. I believe this is currently a pessimization, and you're better off not compiling Cython at all (so...

Build System
Testing
limited api

### Describe your issue I've been looking at the performance of the Limited API. Just a very simple test where I compile Cython with the Limited API (you need to...

performance
limited api

### Describe the bug In libcpp.cmath most of the functions are written with `except +` e.g. https://github.com/cython/cython/blob/16470e1c961f202c004043e5e31c8e753df94ffe/Cython/Includes/libcpp/cmath.pxd#L4 That looks unnecessary to me. For most of them cppreference says: > Errors...