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
9f9458c7
Commit
9f9458c7
authored
Oct 21, 2009
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
2e864668
63402a50
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/Builtin.py
Cython/Compiler/Builtin.py
+1
-1
Cython/Compiler/Optimize.py
Cython/Compiler/Optimize.py
+1
-1
No files found.
Cython/Compiler/Builtin.py
View file @
9f9458c7
...
...
@@ -28,7 +28,7 @@ builtin_function_table = [
#('hex', "", "", ""),
#('id', "", "", ""),
#('input', "", "", ""),
(
'intern'
,
"s"
,
"O"
,
"__Pyx_InternFromString"
),
#('intern', "s", "O", "__Pyx_InternFromString"), # Doesn't work for Python str objects with null characters.
(
'isinstance'
,
"OO"
,
"b"
,
"PyObject_IsInstance"
),
(
'issubclass'
,
"OO"
,
"b"
,
"PyObject_IsSubclass"
),
(
'iter'
,
"O"
,
"O"
,
"PyObject_GetIter"
),
...
...
Cython/Compiler/Optimize.py
View file @
9f9458c7
...
...
@@ -685,7 +685,7 @@ class OptimizeBuiltinCalls(Visitor.VisitorTransform):
return
function_handler
(
node
,
arg_tuple
,
kwargs
)
else
:
return
function_handler
(
node
,
arg_tuple
)
elif
isinstance
(
function
,
ExprNodes
.
AttributeNode
)
:
elif
function
.
is_attribute
:
arg_list
=
arg_tuple
.
args
self_arg
=
function
.
obj
obj_type
=
self_arg
.
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