The Cython compiler for writing C extensions for the Python language
The Cython language makes writing C extensions for the Python language as
easy as Python itself. Cython is a source code translator based on the
well-known Pyrex, but supports more cutting edge functionality and
optimizations.
The Cython language is very close to the Python language (and most Python
code is also valid Cython code), but Cython additionally supports calling C
functions and declaring 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
libraries, and for fast C modules that speed up the execution of Python
code.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
9
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/python-Cython && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Cython-3.0.10.tar.gz | 0002751764 2.62 MB | |
python-Cython-rpmlintrc | 0000000195 195 Bytes | |
python-Cython.changes | 0000106047 104 KB | |
python-Cython.spec | 0000003556 3.47 KB |
Revision 83 (latest revision is 84)
Ana Guerrero (anag+factory)
accepted
request 1164069
from
Dirk Mueller (dirkmueller)
(revision 83)
- update to 3.0.10: * Cython generated incorrect self-casts when directly calling final methods of subtypes. * Internal C names generated from C function signatures could become too long for MSVC. * The noexcept warnings could be misleading in some cases. * The @cython.ufunc implementation could generate incomplete C code. * The libcpp.complex declarations could result in incorrect C++ code. Patch by Raffi Enficiaud. * Several tests were adapted to work with both NumPy 1.x and 2.0. Patch by Matti Picus. * C compiler warnings when the freelist implementation is disabled (e.g. on PyPy) were fixed. It can now be disabled explicitly with the C macro guard CYTHON_USE_FREELISTS=0. * Some C macro guards for feature flags were missing from the NOGIL Python configuration. * Some recently added builtins were unconditionally looked up at module import time (if used by user code) that weren't available on all Python versions and could thus fail the import. * A performance hint regarding exported pxd declarations was improved.
Comments 0