Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cython to 0.26 #226

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of Cython available.
You are currently using 0.25.2. I have updated it to 0.26

These links might come in handy: PyPI | Changelog | Homepage | Bugtracker

Changelog

0.26

=================

Features added

  • Pythran can be used as a backend for evaluating NumPy array expressions.
    Patch by Adrien Guinet (Github issue 1607).
  • 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.
    Patch by Claudio Freire (Github issue 1571).
  • Support pyximport from zip files.
    Patch by Sergei Lebedev (Github issue 1485).
  • IPython magic now respects the __all__ variable and ignores
    names with leading-underscore (like import * does).
    Patch by Syrtis Major (Github issue 1625).
  • abs() is optimised for C complex numbers.
    Patch by da-woods (Github issue 1648).
  • 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.
    Patch by jdemeyer (Github issue 1654).
  • 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.
    (Github issue 1696)
  • Unicode escapes in 'ur' raw-unicode strings were not resolved in Py2 code.
    Original patch by Aaron Gallagher (Github issue 1594).
  • File paths of code objects are now relative.
    Original patch by Jelmer Vernooij (Github issue 1565).
  • Decorators of cdef class methods could be executed twice.
    Patch by jdemeyer (Github issue 1724).
  • 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.

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant