Cython v0.28.2 Release Notes
Release Date: 2018-04-13 // about 6 years ago-
๐ Features added
abs()
is faster for Python long objects.The C++11 methods
front()
andend()
were added to the declaration oflibcpp.string
. Patch by Alex Huszagh. (Github issue :issue:2123
)The C++11 methods
reserve()
andbucket_count()
are declared forlibcpp.unordered_map
. Patch by Valentin Valls. (Github issue :issue:2168
)
๐ Bugs fixed
The copy of a read-only memoryview was considered read-only as well, whereas a common reason to copy a read-only view is to make it writable. The result of the copying is now a writable buffer by default. (Github issue :issue:
2134
)The
switch
statement generation failed to apply recursively to the body of converted if-statements.๐ป
NULL
was sometimes rejected as exception return value when the returned type is a fused pointer type. Patch by Callie LeFave. (Github issue :issue:2177
)๐ Fixed compatibility with PyPy 5.11. Patch by Matti Picus. (Github issue :issue:
2165
)
Other changes
- The NumPy tutorial was rewritten to use memoryviews instead of the older
buffer declaration syntax.
Contributed by Gabriel de Marmiesse. (Github issue :issue:
2162
)