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.
- Devel package for openSUSE:Factory
-
28
derived packages
- Links to openSUSE:Factory / python-Cython
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:python/python-Cython && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Cython-3.0.9.tar.gz | 0002748462 2.62 MB | |
_link | 0000000148 148 Bytes | |
python-Cython-rpmlintrc | 0000000195 195 Bytes | |
python-Cython.changes | 0000104815 102 KB | |
python-Cython.spec | 0000003555 3.47 KB |
Revision 196 (latest revision is 201)
Dirk Mueller (dirkmueller)
committed
(revision 196)
- update to 3.0.9: * Assigning const values to non-const variables now issues a warning. * Using noexcept on a function returning Python objects now issues a warning. * Some C-API usage was updated for the upcoming CPython 3.13. Patches by Victor Stinner et al. * The deprecated Py_UNICODE type is no longer used, unless required by user code. * std::string.replace() declarations were added to libcpp.string. Patch by Kieran Geary. * Cython generates incorrect (but harmless) self-casts when directly calling final methods of subtypes. Lacking a better solution, the errors that recent gcc versions produce have been silenced for the time being. Original patch by Michał Górny. * Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled. * Subclass deallocation of extern classes could crash if the base class uses GC. Original patch by Jason Fried. * Type checks for Python memoryview could use an invalid C function. Patch by Xenia Lu. * Calling final fused functions could generate invalid C code. * Declaring extern enums multiple times could generate invalid C code. * pyximport used relative paths incorrectly. Patch by Stefano Rivera. * Running Cython with globbing characters ([]*?) in the module search path could fail. * Literal strings that include braces could change the C code
Comments 0