The Cython compiler for writing C extensions for the Python language

Edit Package python-Cython

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.

Refresh
Refresh
Source Files
Filename Size Changed
Cython-0.29.33.tar.gz 0002093693 2 MB
python-Cython-rpmlintrc 0000000194 194 Bytes
python-Cython.changes 0000087761 85.7 KB
python-Cython.spec 0000003290 3.21 KB
Revision 68 (latest revision is 83)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1058181 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 68)
- update to 0.29.33:
  * The ``cythonize`` and ``cython`` commands have a new option ``-M`` /
    ``--depfile`` to generate ``.dep`` dependency files for the
    compilation unit.  This can be used by external build tools to
    track these dependencies. 
  * ``const`` fused types could not be used with memory views.
  * ``wstr`` usage was removed in Python 3.12 and later (PEP-623).
  * A type check assertion for Cython functions failed in debug Python
    builds.
  * Fixed various compiler warnings.
  * Fixed error when calculating complex powers of negative numbers.
  * Corrected a small mis-formatting of exception messages on Python 2.
  * The ``PyUnicode_AsUTF8AndSize()`` C-API function was missing from the
    CPython declarations.
  * A performance problem in the compiler was resolved when nesting
    conditional expressions.
  * Test suite problems with recent NumPy and CPython versions were
    resolved.
  * Other changes
  * The undocumented, untested and apparently useless syntax
  ``from somemodule cimport class/struct/union somename`` was deprecated
  in anticipation of its removal in Cython 3.  The type
  modifier is not needed here and a plain ``cimport`` of the name will do.
  * Properly disable generation of descriptor docstrings on PyPy since they
    cause crashes.
  It was previously disabled, but only accidentally via a typo.
  * The ``cpow`` directive of Cython 3.0 is available as a no-op.
Comments 0
openSUSE Build Service is sponsored by