scoder

Results 66 issues of scoder

**Is your feature request related to a problem? Please describe.** There is currently no way to define function pointers in pure Python syntax, e.g. ```cython int (*grail)(int, char*) except -1...

feature
Pure Python Mode

### Describe your issue It's an undocumented feature but it's probably in use by some software out there. It should be tested but not documented.

Testing
Cython Language Feature

### Describe your issue [PEP-793](https://peps.python.org/pep-0793/) has been [accepted](https://discuss.python.org/t/pep-793-pymodexport-a-new-entry-point-for-c-extension-modules/93444/46). It removes the need for the `PyModuleDef` object and allows defining the extension entry point with simpler `PyModuleDef_Slot` structs. The intention is...

feature
Code Generation
limited api
freethreading CPython

### Describe your issue Several constants, especially strings, are only used at import time and could be discarded at the end of the module init function. This includes - Python...

enhancement
Code Generation

### Describe your issue Both utilities can handle the `==` and `!=` operators. However, PyLongCompare is very specialised for equality comparisons and PyLongBinop only has a few comparison related bits...

cleanup

These came up in CPython [issue 34508](https://bugs.python.org/issue34508). We should make sure that we support them as well, and follow whatever they decide over there. ``` def f(): return *(1, 2),...

help wanted
good first issue
Python Semantics