whl/mainbox/: cython-3.1.8 metadata and description
The Cython compiler for writing C extensions in the Python language.
| author | Robert Bradshaw, Stefan Behnel, David Woods, Greg Ewing, et al. |
| author_email | cython-devel@python.org |
| classifiers |
|
| description_content_type | text/x-rst |
| dynamic |
|
| license | Apache-2.0 |
| metadata_version | 2.4 |
| project_urls |
|
| requires_python | >=3.8 |
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
cython-3.1.8-cp314-cp314-linux_x86_64.whl
|
|
The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on Pyrex, but supports more cutting edge functionality and optimizations.
The Cython language is a superset of the Python language (almost all Python code is also valid Cython code), but Cython additionally supports optional static typing to natively call C functions, operate with C++ classes and declare fast C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for writing glue code for external C/C++ libraries, and for fast C modules that speed up the execution of Python code.
The newest Cython release can always be downloaded from https://cython.org/. Unpack the tarball or zip file, enter the directory, and then run:
pip install .
Note that for one-time builds, e.g. for CI/testing, on platforms that are not covered by one of the wheel packages provided on PyPI and the pure Python wheel that we provide is not used, it is substantially faster than a full source build to install an uncompiled (slower) version of Cython with:
NO_CYTHON_COMPILE=true pip install .
3.1.8 (2026-01-03)
Bugs fixed
Assignment expressions used in comprehensions could look at the wrong scope, thus using different variables and different data. (Github issue https://github.com/cython/cython/issues/6547)
Some internal C symbols were not declared as static, preventing static linking of multiple modules. Patch by Yury Popov. (Github issue https://github.com/cython/cython/issues/7310)
Accidentally using except + in C mode did not raise a compile error but generated invalid C code leading to obscure error messages. Patch by user202729. (Github issue https://github.com/cython/cython/issues/6560)