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

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


Branch: CURRENT, Version: 0.29.21, Package name: py37-cython-0.29.21, 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: 3aafce4489a7bc7a48c843cdfb8dac4677fdac50
RMD160: 7cb8cb7d1fc4a8ec74ebbfc800bdc413b9c36771
Filesize: 2018.901 KB

Version history: (Expand)


CVS history: (Expand)


   2020-07-09 09:21:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cython: updated to 0.29.21

0.29.21
=======

Bugs fixed
----------

* Fix a regression in 0.29.20 where ``__div__`` failed to be found in extension \ 
types.

* Fix a regression in 0.29.20 where a call inside of a finally clause could fail \ 
to compile.

* Zero-sized buffers could fail to validate as C/Fortran-contiguous.

* ``exec()`` did not allow recent Python syntax features in Py3.8+ due to
  https://bugs.python.org/issue35975.

* Binding staticmethods of Cython functions were not behaving like Python \ 
methods in Py3.

* Pythran calls to NumPy methods no longer generate useless method lookup code.

* The ``PyUnicode_GET_LENGTH()`` macro was missing from the ``cpython.*`` \ 
declarations.

* The deprecated ``PyUnicode_*()`` C-API functions are no longer used, except \ 
for Unicode
  strings that contain lone surrogates.  Unicode strings that contain non-BMP \ 
characters
  or surrogate pairs now generate different C code on 16-bit Python 2.x Unicode \ 
deployments
  (such as MS-Windows).  Generating the C code on Python 3.x is recommended in \ 
this case.

* Some template parameters were missing from the C++ ``std::unordered_map`` \ 
declaration.

* Several internal code generation issues regarding temporary variables were \ 
resolved.
   2020-06-11 10:02:35 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.20

0.29.20:

Bugs fixed

* Nested try-except statements with multiple ``return`` statements could crash
  due to incorrect deletion of the ``except as`` target variable.
* The ``@classmethod`` decorator no longer rejects unknown input from other \ 
decorators.
* Fused types could leak into unrelated usages.
* Now uses ``Py_SET_SIZE()`` and ``Py_SET_REFCNT()`` in Py3.9+ to avoid low-level
  write access to these object fields.
* The built-in ``abs()`` function could lead to undefined behaviour when used on
  the negative-most value of a signed C integer type.
* Usages of ``sizeof()`` and ``typeid()`` on uninitialised variables no longer
  produce a warning.
* The C++ ``typeid()`` function was allowed in C mode.
* The error position reported for errors found in f-strings was misleading.
* The new ``c_api_binop_methods`` directive was added for forward compatibility, \ 
but can
  only be set to True (the current default value).  It can be disabled in Cython 3.0.
   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