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
77fc0ac3
Commit
77fc0ac3
authored
Oct 29, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.27.x'
parents
1833eba8
74409491
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+1
-1
Cython/Utility/CppSupport.cpp
Cython/Utility/CppSupport.cpp
+1
-1
No files found.
Cython/Compiler/PyrexTypes.py
View file @
77fc0ac3
...
...
@@ -1475,7 +1475,7 @@ class CType(PyrexType):
class
PythranExpr
(
CType
):
# Pythran object of a given type
to_py_function
=
"
to_python_from_expr
"
to_py_function
=
"
__Pyx_pythran_to_python
"
is_pythran_expr
=
True
writable
=
True
has_attributes
=
1
...
...
Cython/Utility/CppSupport.cpp
View file @
77fc0ac3
...
...
@@ -50,7 +50,7 @@ static void __Pyx_CppExn2PyErr() {
/////////////// PythranConversion.proto ///////////////
template
<
class
T
>
auto
to_python_from_expr
(
T
&&
value
)
->
decltype
(
to_python
(
auto
__Pyx_pythran_to_python
(
T
&&
value
)
->
decltype
(
to_python
(
typename
pythonic
::
returnable
<
typename
std
::
remove_cv
<
typename
std
::
remove_reference
<
T
>::
type
>::
type
>::
type
{
std
::
forward
<
T
>
(
value
)}))
{
using
returnable_type
=
typename
pythonic
::
returnable
<
typename
std
::
remove_cv
<
typename
std
::
remove_reference
<
T
>::
type
>::
type
>::
type
;
...
...
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