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.6.tar.gz | 0002740354 2.61 MB | |
python-Cython-rpmlintrc | 0000000195 195 Bytes | |
python-Cython.changes | 0000101653 99.3 KB | |
python-Cython.spec | 0000003510 3.43 KB |
Revision 78 (latest revision is 84)
Ana Guerrero (anag+factory)
accepted
request 1129058
from
Dirk Mueller (dirkmueller)
(revision 78)
- update to 3.0.6: * Features added * Fused def function dispatch is a bit faster. * Declarations for the ``wchar`` PyUnicode API were added. * The Python "nogil" fork is now also detected with the new ``Py_GIL_DISABLED`` macro. * Patch by Hugo van Kemenade (Github issue :issue:`583652`) * Bugs fixed * Comparing dataclasses could give different results than Python. * ``float(std::string)`` generated invalid C code. * Using ``cpdef`` functions with ``cimport_from_pyx`` failed. * A crash was fixed when string-formatting a Python value fails. * On item access, Cython could try the sequence protocol before the mapping protocol * in some cases if an object supports both. * A C compiler warning was resolved. * Complex numbers failed to compile in MSVC with C11. * Patch by Lysandros Nikolaou. (Github issue :issue:`5809`) * Some issues with the Limited API and with PyPy were resolved. * A C++ issue in Python 3.13 was resolved. * Several directives are now also available (as no-ops) in Python code. * An error message was corrected.
Comments 0