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
9ec103c3
Commit
9ec103c3
authored
May 12, 2020
by
MegaIng
Committed by
Stefan Behnel
May 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove illegal casting of structs when using ctuple (GH-3599)
Closes #3038.
parent
48b3fcfc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+3
-0
tests/windows_bugs.txt
tests/windows_bugs.txt
+0
-1
No files found.
Cython/Compiler/PyrexTypes.py
View file @
9ec103c3
...
@@ -4034,6 +4034,9 @@ class CTupleType(CType):
...
@@ -4034,6 +4034,9 @@ class CTupleType(CType):
env
.
use_utility_code
(
self
.
_convert_from_py_code
)
env
.
use_utility_code
(
self
.
_convert_from_py_code
)
return
True
return
True
def
cast_code
(
self
,
expr_code
):
return
expr_code
def
c_tuple_type
(
components
):
def
c_tuple_type
(
components
):
components
=
tuple
(
components
)
components
=
tuple
(
components
)
...
...
tests/windows_bugs.txt
View file @
9ec103c3
...
@@ -6,7 +6,6 @@ initial_file_path
...
@@ -6,7 +6,6 @@ initial_file_path
package_compilation
package_compilation
carray_coercion
carray_coercion
ctuple
int_float_builtins_as_casts_T400
int_float_builtins_as_casts_T400
int_float_builtins_as_casts_T400_long_double
int_float_builtins_as_casts_T400_long_double
list_pop
list_pop
...
...
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