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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
42f4f139
Commit
42f4f139
authored
Mar 28, 2017
by
Clemens Hofreither
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a compiler crash when casting to a memoryview
parent
0558bdb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+3
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
42f4f139
...
...
@@ -10130,7 +10130,9 @@ class CythonArrayNode(ExprNode):
return
self
.
get_cython_array_type
(
env
)
def
get_cython_array_type
(
self
,
env
):
return
env
.
global_scope
().
context
.
cython_scope
.
viewscope
.
lookup
(
"array"
).
type
cython_scope
=
env
.
global_scope
().
context
.
cython_scope
cython_scope
.
load_cythonscope
()
return
cython_scope
.
viewscope
.
lookup
(
"array"
).
type
def
generate_result_code
(
self
,
code
):
from
.
import
Buffer
...
...
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