来源:Cython
浏览 539
扫码
分享
2020-04-04 08:24:10
0.26.1 (2017-08-29)
Features added
Bugs fixed
cython.view.array
was missing .len()
.- Extension types with a
.pxd
override for their releasebuffer
slot(e.g. as provided by Cython for the Python array.array
type) could leaka reference to the buffer owner on release, thus not freeing the memory.(Github issue #1638) - Auto-decoding failed in 0.26 for strings inside of C++ containers.(Github issue #1790)
- Compile error when inheriting from C++ container types.(Github issue #1788)
- Invalid C code in generators (declaration after code).(Github issue #1801)
- Arithmetic operations on
const
integer variables could generate invalid code.(Github issue #1798) - Local variables with names of special Python methods failed to compile inside ofclosures. (Github issue #1797)
- Problem with indirect Emacs buffers in cython-mode.Patch by Martin Albrecht (Github issue #1743).
- Extension types named
result
or PickleError
generated invalid unpickling code.Patch by Jason Madden (Github issue #1786). - Bazel integration failed to compile
.py
files.Patch by Guro Bokum (Github issue #1784). - Some include directories and dependencies were referenced with their absolute pathsin the generated files despite lying within the project directory.
- Failure to compile in Py3.7 due to a modified signature of
_PyCFunctionFast()