./devel/py-cython, C-Extensions for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.29.19, Package name: py37-cython-0.29.19, Maintainer: pkgsrc-users

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.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: c24dbdc6b952f10d2cb7698728e42c63f1f6b1db
RMD160: 1dd69adb5ec4f1030479c585d83da59bc6719879
Filesize: 2014.201 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-21 08:19:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.19

0.29.19:
Bugs fixed
* A typo in Windows specific code in 0.29.18 was fixed that broke \ 
"libc.math".
* A platform specific test failure in 0.29.18 was fixed.
   2020-05-19 11:21:43 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.18

0.29.18

Bugs fixed
* Exception position reporting could run into race conditions on threaded code.
  It now uses function-local variables again.
* Error handling early in the module init code could lead to a crash.
* Error handling in ``cython.array`` creation was improved to avoid calling
  C-API functions with an error held.
* A memory corruption was fixed when garbage collection was triggered during calls
  to ``PyType_Ready()`` of extension type subclasses.
* Memory view slicing generated unused error handling code which could negatively
  impact the C compiler optimisations for parallel OpenMP code etc.  Also, it is
  now helped by static branch hints.
* Cython's built-in OpenMP functions were not translated inside of call arguments.
* Complex buffer item types of structs of arrays could fail to validate.
* Decorators were not allowed on nested `async def` functions.
* C-tuples could use invalid C struct casting.
* Optimised ``%d`` string formatting into f-strings failed on float values.
* Optimised aligned string formatting (``%05s``, ``%-5s``) failed.
* When importing the old Cython ``build_ext`` integration with distutils, the
  additional command line arguments leaked into the regular command.
* When using the ``CYTHON_NO_PYINIT_EXPORT`` option in C++, the module init function
  was not declared as ``extern "C"``.
* Three missing timedelta access macros were added in ``cpython.datetime``.
   2020-04-27 09:22:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.17

0.29.17:
Features added
std::move() is now available from libcpp.utility. Patch by Omer Ozarslan.
The @cython.binding decorator is available in Python code.

Bugs fixed
Creating an empty unicode slice with large bounds could crash. Patch by Sam Sneddon.
Decoding an empty bytes/char* slice with large bounds could crash. Patch by Sam \ 
Sneddon.
Re-importing a Cython extension no longer raises the error \ 
"__reduce_cython__ not found".
Unused C-tuples could generate incorrect code in 0.29.16. Patch by Kirk Meyer.
Creating a fused function attached it to the garbage collector before it was \ 
fully initialised, thus risking crashes in rare failure cases. Original patch by \ 
achernomorov.
Temporary buffer indexing variables were not released and could show up in C \ 
compiler warnings, e.g. in generators. Patch by David Woods.
The compilation cache in cython.inline("…") failed to take the \ 
language level into account. Patch by will-ca.
The deprecated PyUnicode_GET_SIZE() function is no longer used in Py3.
   2020-04-03 18:19:13 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cython: updated to 0.29.16

0.29.16:

Bugs fixed
* Temporary internal variables in nested prange loops could leak into other
  threads.
* Default arguments on fused functions could crash.
* C-tuples declared in ``.pxd`` files could generate incomplete C code.
* Fused functions were not always detected and optimised as Cython
  implemented functions.
* Valid Python object concatenation of (iterable) strings to non-strings
  could fail with an exception.
* Using C functions as temporary values lead to invalid C code.
* Fix an unhandled C++ exception in comparisons.
* Fix deprecated import of "imp" module.
* Fix compatibility with Pythran 0.9.6 and later.
* The ``_Py_PyAtExit()`` function in ``cpython.pylifecycle`` was misdeclared.
* Several missing declarations in ``cpython.*`` were added.
* A declaration for ``libc.math.fpclassify()`` was added.
* Avoid "undeclared" warning about automatically generated pickle methods.
* Avoid C compiler warning about unreachable code in ``prange()``.
* Some C compiler warnings in PyPy were resolved.
   2020-02-18 17:44:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.15

0.29.15:
* Crash when returning a temporary Python object from an async-def function.
* Crash when using ``**kwargs`` in generators.
* Double reference free in ``__class__`` cell handling for ``super()`` calls.
* Compile error when using ``*args`` as Python class bases.
* Import failure in IPython 7.11.
* Fixed C name collision in the auto-pickle code.
* Deprecated import failed in Python 3.9.
   2019-12-11 21:20:23 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Fix PR 54712; bump revision
   2019-11-09 22:51:15 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cython: updated to 0.29.14

0.29.14:

Bugs fixed
* The generated code failed to initialise the ``tp_print`` slot in CPython 3.8.
* ``?`` for ``bool`` was missing from the supported NumPy dtypes.
* ``await`` was not allowed inside of f-strings.
* Coverage analysis failed for projects where the code resides in separate
  source sub-directories.
* An incorrect compiler warning was fixed in automatic C++ string conversions.
* Error reports in the Jupyter notebook showed unhelpful stack traces.
* ``Python.h`` is now also included explicitly from ``public`` header files.
* Distutils builds with ``--parallel`` did not work when using Cython's
  deprecated ``build_ext`` command.

Other changes
* The ``PyMemoryView_*()`` C-API is available in ``cpython.memoryview``.
   2019-08-05 21:25:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.23

0.29.13:

Bugs fixed
* A reference leak for None was fixed when converting a memoryview
  to a Python object.
* The declaration of PyGILState_STATE in cpython.pystate was unusable.