来源:Cython
浏览 432
扫码
分享
2020-04-04 08:23:52
0.29.1 (2018-11-24)
Bugs fixed
- Extensions compiled with MinGW-64 under Windows could misinterpret integerobjects larger than 15 bit and return incorrect results.(Github issue #2670)
- Cython no longer requires the source to be writable when copying its datainto a memory view slice.Patch by Andrey Paramonov. (Github issue #2644)
- Line tracing of
try
-statements generated invalid C code.(Github issue #2274) - When using the
warn.undeclared
directive, Cython’s own code generatedwarnings that are now fixed.Patch by Nicolas Pauss. (Github issue #2685) - Cython’s memoryviews no longer require strides for setting the shape fieldbut only the
PyBUF_ND
flag to be set.Patch by John Kirkham. (Github issue #2716) - Some C compiler warnings about unused memoryview code were fixed.Patch by Ho Cheuk Ting. (Github issue #2588)
- A C compiler warning about implicit signed/unsigned conversion was fixed.(Github issue #2729)
- Assignments to C++ references returned by
operator[]
could fail to compile.(Github issue #2671) - The power operator and the support for NumPy math functions were fixedin Pythran expressions.Patch by Serge Guelton. (Github issues #2702, #2709)
- Signatures with memory view arguments now show the expected typewhen embedded in docstrings.Patch by Matthew Chan and Benjamin Weigel. (Github issue #2634)
- Some
from … cimport …
constructs were not correctly consideredwhen searching modified dependencies in cythonize()
to decidewhether to recompile a module.Patch by Kryštof Pilnáček. (Github issue #2638) - A struct field type in the
cpython.array
declarations was corrected.Patch by John Kirkham. (Github issue #2712)