Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
9aa8094f
Commit
9aa8094f
authored
9 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.23.x'
parents
b7a13a42
49e8015e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CHANGES.rst
CHANGES.rst
+6
-0
Cython/Compiler/Optimize.py
Cython/Compiler/Optimize.py
+1
-1
No files found.
CHANGES.rst
View file @
9aa8094f
...
...
@@ -40,6 +40,12 @@ Other changes
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
variables could fail to compile due to missing helper functions.
This fixes ticket 851.
...
...
This diff is collapsed.
Click to expand it.
Cython/Compiler/Optimize.py
View file @
9aa8094f
...
...
@@ -4202,7 +4202,7 @@ class FinalOptimizePhase(Visitor.CythonTransform, Visitor.NodeRefCleanupMixin):
if
function
.
type
is
Builtin
.
type_type
:
may_be_a_method
=
False
elif
function
.
is_attribute
:
if
function
.
entry
.
type
.
is_cfunction
:
if
function
.
entry
and
function
.
entry
.
type
.
is_cfunction
:
# optimised builtin method
may_be_a_method
=
False
elif
function
.
is_name
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment