projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab33874
)
removed getattr() optimisation as it disables the usage of a default value
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 15 Sep 2007 11:44:57 +0000
(13:44 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 15 Sep 2007 11:44:57 +0000
(13:44 +0200)
Cython/Compiler/Symtab.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Symtab.py
b/Cython/Compiler/Symtab.py
index b7024e7fb4a64573012b2b15f6ed866d0182267a..3f2286d11e90b74cf77fd66abeae1db8fb6f11ba 100644
(file)
--- a/
Cython/Compiler/Symtab.py
+++ b/
Cython/Compiler/Symtab.py
@@
-514,7
+514,6
@@
class BuiltinScope(Scope):
builtin_functions = {
"hasattr": ["PyObject_HasAttr", c_bint_type, (py_object_type, py_object_type)],
- "getattr": ["PyObject_GetAttr", py_object_type, (py_object_type, py_object_type)],
"setattr": ["PyObject_SetAttr", c_int_type, (py_object_type, py_object_type, py_object_type), -1],
"cmp": ["PyObject_Compare", c_int_type, (py_object_type, py_object_type), None, True],
"repr": ["PyObject_Repr", py_object_type, (py_object_type, ), 0],