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

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


Branch: CURRENT, Version: 0.29.32, Package name: py310-cython-0.29.32, 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:

Filesize: 2039.817 KB

Version history: (Expand)


CVS history: (Expand)


   2022-08-01 09:58:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.32

0.29.32 (2022-07-29)
====================

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

* Revert "Using memoryview typed arguments in inner functions is now \ 
rejected as unsupported."

* ``from module import *`` failed in 0.29.31 when using memoryviews.

0.29.31 (2022-07-27)
====================

Features added
--------------

* A new argument ``--module-name`` was added to the ``cython`` command to
  provide the (one) exact target module name from the command line.

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

* Use ``importlib.util.find_spec()`` instead of the deprecated \ 
``importlib.find_loader()``
  function when setting up the package path at import-time.

* Require the C compiler to support the two-arg form of ``va_start``
  on Python 3.10 and higher.

* Make ``fused_type`` subscriptable in Shadow.py.

* Fix the incorrect code generation of the target type in ``bytearray`` loops.

* Atomic refcounts for memoryviews were not used on some GCC versions by accident.

* Silence some GCC ``-Wconversion`` warnings in C utility code.

* Tuple multiplication was ignored in expressions such as ``[*(1,) * 2]``.

* Calling ``append`` methods on extension types could fail to find the method
  in some cases.

* Ensure that object buffers (e.g. ``ndarray[object, ndim=1]``) containing
  ``NULL``  pointers are safe to use, returning ``None`` instead of the ``NULL``
  pointer.

* Using memoryview typed arguments in inner functions is now rejected as unsupported.

* Compilation could fail on systems (e.g. FIPS) that block MD5 checksums at runtime.

* Experimental adaptations for the CPython "nogil" fork was added.
  Note that there is no official support for this in Cython 0.x.
   2022-05-18 13:37:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.30

0.29.30 (2022-05-16)
====================

Bugs fixed
----------
* The GIL handling changes in 0.29.29 introduced a regression where
  objects could be deallocated without holding the GIL.

0.29.29 (2022-05-16)
====================

Features added
--------------
* Avoid acquiring the GIL at the end of nogil functions.
  This change was backported in order to avoid generating wrong C code
  that would trigger C compiler warnings with tracing support enabled.

Bugs fixed
----------
* Function definitions in ``finally:`` clauses were not correctly generated.
* A case where C-API functions could be called with a live exception set was fixed.
* Pickles can now be exchanged again with those generated from Cython 3.0 modules.
* Cython now correctly generates Python methods for both the provided regular and
  reversed special numeric methods of extension types.
* Calling unbound extension type methods without arguments could raise an
  ``IndexError`` instead of a ``TypeError``.
* Calling unbound ``.__contains__()`` super class methods on some builtin base
  types could trigger an infinite recursion.
* The C union type in pure Python mode mishandled some field names.
* Allow users to overwrite the C macro ``_USE_MATH_DEFINES``.
* Improved compatibility with CPython 3.10/11.
* Docstrings of descriptors are now provided in PyPy 7.3.9.
   2022-03-01 10:59:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.28

0.29.28 (2022-02-17)
====================

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

* Due to backwards incompatible changes in CPython 3.11a4, the feature flags
  ``CYTHON_FAST_THREAD_STATE`` and ``CYTHON_USE_EXC_INFO_STACK`` are now disabled
  in Python 3.11 and later.  They are enabled again in Cython 3.0.
  Patch by David Woods.

* A C compiler warning in older PyPy versions was resolved.
  Patch by Matti Picus.
   2022-01-31 12:24:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.27

0.29.27 (2022-01-28)
====================

Features added
--------------
* The ``cythonize`` command has a new option ``-M`` to generate ``.dep`` dependency
  files for the compilation unit.  This can be used by external build tools to track
  these dependencies.

Bugs fixed
----------
* Compilation failures on PyPy were resolved.
* Calls to ``range()`` with more than three arguments did not fail.
* Some C compiler warnings about missing type struct initialisers in Py3.10 were \ 
resolved.
* Cython no longer warns about using OpenMP 3.0 features since they are now
  considered generally available.
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-17 09:07:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.26

0.29.26 (2021-12-16)
====================

Bugs fixed
----------
* An incompatibility with CPython 3.11.0a3 was resolved.
* The ``in`` operator failed on literal lists with starred expressions.
* A C compiler warning in PyPy about a missing struct field initialisation was \ 
resolved.
   2021-12-07 10:44:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cython: updated to 0.29.25

0.29.25
=======

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

* Several incompatibilities with CPython 3.11 were resolved.

* Some C compiler warnings were resolved.

* C++ ``std::move()`` should only be used automatically in MSVC versions that \ 
support it.

 * The ``Py_hash_t`` type failed to accept arbitrary "index" values.

* Avoid copying unaligned 16-bit values since some platforms require them to be \ 
aligned.
  Use memcpy() instead to let the C compiler decide how to do it.

* Cython crashed on invalid truthiness tests on C++ types without ``operator bool``.
  Patch by David Woods.

* The declaration of ``PyUnicode_CompareWithASCIIString()`` in \ 
``cpython.unicode`` was incorrect.