e9085ad046
Features added * Pythran can be used as a backend for evaluating NumPy array expressions. * cdef classes now support pickling by default when possible. This can be disabled with the ``auto_pickle`` directive. * Speed up comparisons of strings if their hash value is available. * Support pyximport from zip files. * IPython magic now respects the ``__all__`` variable and ignores names with leading-underscore (like ``import *`` does). * ``abs()`` is optimised for C complex numbers. * The display of C lines in Cython tracebacks can now be enabled at runtime via ``import cython_runtime; cython_runtime.cline_in_traceback=True``. The default has been changed to False. * The overhead of calling fused types generic functions was reduced. * "cdef extern" include files are now also searched relative to the current file. * Optional optimization for re-aquiring the GIL, controlled by the `fast_gil` directive. Bugs fixed ---------- * Item lookup/assignment with a unicode character as index that is typed (explicitly or implicitly) as ``Py_UCS4`` or ``Py_UNICODE`` used the integer value instead of the Unicode string value. Code that relied on the previous behaviour now triggers a warning that can be disabled by applying an explicit cast. (Github issue 1602) * f-string processing was adapted to changes in PEP 498 and CPython 3.6. * Invalid C code when decoding from UTF-16(LE/BE) byte strings. * Unicode escapes in 'ur' raw-unicode strings were not resolved in Py2 code. * File paths of code objects are now relative. * Decorators of cdef class methods could be executed twice. * Several warnings in the generated coder are now suppressed. Other changes ------------- * The ``unraisable_tracebacks`` option now defaults to ``True``. * Coercion of C++ containers to Python is no longer automatic on attribute access (Github issue 1521). * Access to Python attributes of cimported modules without the corresponding import is now a compile-time (rather than runtime) error. * Do not use special dll linkage for "cdef public" functions. * cdef/cpdef methods must match their declarations. See Github Issue 1732. This is now a warning and will be an error in future releases. |
||
---|---|---|
.. | ||
patches | ||
buildlink3.mk | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST | ||
tool.mk |