Commit 6ffb9989 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents 4927e0e9 34e01e6c
...@@ -111,6 +111,10 @@ Bugs fixed ...@@ -111,6 +111,10 @@ Bugs fixed
* Avoid a C #pragma in old gcc versions that was only added in GCC 4.6. * Avoid a C #pragma in old gcc versions that was only added in GCC 4.6.
Patch by Michael Anselmi. (Github issue #2838) Patch by Michael Anselmi. (Github issue #2838)
* Auto-encoding of Unicode strings to UTF-8 C/C++ strings failed in Python 3,
even though the default encoding there is UTF-8.
(Github issue #2819)
0.29.5 (2019-02-09) 0.29.5 (2019-02-09)
=================== ===================
......
...@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python ...@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python
If within Cython code, we have a variable already 'early-bound' (ie, declared If within Cython code, we have a variable already 'early-bound' (ie, declared
explicitly as type Rectangle, (or cast to type Rectangle), then invoking its explicitly as type Rectangle, (or cast to type Rectangle), then invoking its
area method will use the efficient C code path and skip the Python overhead. area method will use the efficient C code path and skip the Python overhead.
But if in Pyrex or regular Python code we have a regular object variable But if in Cython or regular Python code we have a regular object variable
storing a Rectangle object, then invoking the area method will require: storing a Rectangle object, then invoking the area method will require:
* an attribute lookup for the area method * an attribute lookup for the area method
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment