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
Boxiang Sun
cython
Commits
a4496645
Commit
a4496645
authored
Nov 25, 2008
by
DagSverreSeljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for infinite loop in buffer code
parent
f277fa1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Compiler/Buffer.py
Cython/Compiler/Buffer.py
+4
-0
No files found.
Cython/Compiler/Buffer.py
View file @
a4496645
...
...
@@ -710,7 +710,11 @@ def use_py2_buffer_functions(env):
# Search all types for __getbuffer__ overloads
types
=
[]
visited_scopes
=
set
()
def
find_buffer_types
(
scope
):
if
scope
in
visited_scopes
:
return
visited_scopes
.
add
(
scope
)
for
m
in
scope
.
cimported_modules
:
find_buffer_types
(
m
)
for
e
in
scope
.
type_entries
:
...
...
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