Commit 9aa8094f authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.23.x'

parents b7a13a42 49e8015e
...@@ -40,6 +40,12 @@ Other changes ...@@ -40,6 +40,12 @@ Other changes
Bugs fixed Bugs fixed
---------- ----------
* Invalid C code for generators. This fixes ticket 858.
* Invalid C code for some builtin methods. This fixes ticket 856.
* Test failures on 32bit systems. This fixes ticket 857.
* Code that uses "from xyz import *" and global C struct/union/array * Code that uses "from xyz import *" and global C struct/union/array
variables could fail to compile due to missing helper functions. variables could fail to compile due to missing helper functions.
This fixes ticket 851. This fixes ticket 851.
......
...@@ -4202,7 +4202,7 @@ class FinalOptimizePhase(Visitor.CythonTransform, Visitor.NodeRefCleanupMixin): ...@@ -4202,7 +4202,7 @@ class FinalOptimizePhase(Visitor.CythonTransform, Visitor.NodeRefCleanupMixin):
if function.type is Builtin.type_type: if function.type is Builtin.type_type:
may_be_a_method = False may_be_a_method = False
elif function.is_attribute: elif function.is_attribute:
if function.entry.type.is_cfunction: if function.entry and function.entry.type.is_cfunction:
# optimised builtin method # optimised builtin method
may_be_a_method = False may_be_a_method = False
elif function.is_name: elif function.is_name:
......
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