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
44f197c4
Commit
44f197c4
authored
Jun 27, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: make 'is_cyp_wrapper' flag an attribute of all PyrexTypes
parent
df5c62a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+2
-2
No files found.
Cython/Compiler/PyrexTypes.py
View file @
44f197c4
...
@@ -165,6 +165,7 @@ class PyrexType(BaseType):
...
@@ -165,6 +165,7 @@ class PyrexType(BaseType):
#
#
# is_pyobject boolean Is a Python object type
# is_pyobject boolean Is a Python object type
# is_extension_type boolean Is a Python extension type
# is_extension_type boolean Is a Python extension type
# is_cyp_wrapper boolean Is a Python extension type that wraps a cypclass
# is_final_type boolean Is a final extension type
# is_final_type boolean Is a final extension type
# is_numeric boolean Is a C numeric type
# is_numeric boolean Is a C numeric type
# is_int boolean Is a C integer type
# is_int boolean Is a C integer type
...
@@ -228,6 +229,7 @@ class PyrexType(BaseType):
...
@@ -228,6 +229,7 @@ class PyrexType(BaseType):
is_pyobject
=
0
is_pyobject
=
0
is_unspecified
=
0
is_unspecified
=
0
is_extension_type
=
0
is_extension_type
=
0
is_cyp_wrapper
=
0
is_final_type
=
0
is_final_type
=
0
is_builtin_type
=
0
is_builtin_type
=
0
is_cython_builtin_type
=
0
is_cython_builtin_type
=
0
...
@@ -1498,13 +1500,11 @@ class PyExtensionType(PyObjectType):
...
@@ -1498,13 +1500,11 @@ class PyExtensionType(PyObjectType):
# early_init boolean Whether to initialize early (as opposed to during module execution).
# early_init boolean Whether to initialize early (as opposed to during module execution).
# defered_declarations [thunk] Used to declare class hierarchies in order
# defered_declarations [thunk] Used to declare class hierarchies in order
# check_size 'warn', 'error', 'ignore' What to do if tp_basicsize does not match
# check_size 'warn', 'error', 'ignore' What to do if tp_basicsize does not match
# is_cyp_wrapper boolean Whether this extension type wraps a cypclass
# wrapped_cname string or None The full namespace declaration of the wrapped type when this is a cyp_wrapper
# wrapped_cname string or None The full namespace declaration of the wrapped type when this is a cyp_wrapper
is_extension_type
=
1
is_extension_type
=
1
has_attributes
=
1
has_attributes
=
1
early_init
=
1
early_init
=
1
is_cyp_wrapper
=
0
wrapper_cname
=
None
wrapper_cname
=
None
...
...
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