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
Xavier Thompson
cython
Commits
35209205
Commit
35209205
authored
Sep 10, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Let ctuples not automatically infer to PyObject"
This reverts commit
a408929b
.
parent
b4914956
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Cython/Compiler/TypeInference.py
Cython/Compiler/TypeInference.py
+0
-4
No files found.
Cython/Compiler/TypeInference.py
View file @
35209205
...
...
@@ -582,10 +582,6 @@ def safe_spanning_type(types, might_overflow, pos, scope):
return
result_type
elif
result_type
.
is_memoryviewslice
:
return
result_type
elif
result_type
.
is_ctuple
:
# Since structs are considered safe, and ctuples are essentially structs
# with tuple-like syntax, they should be safe for the same reasons.
return
result_type
# TODO: double complex should be OK as well, but we need
# to make sure everything is supported.
elif
(
result_type
.
is_int
or
result_type
.
is_enum
)
and
not
might_overflow
:
...
...
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