projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7cd57
)
declare some internal transform methods final
author
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 21 Feb 2013 23:57:07 +0000
(
00:57
+0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 21 Feb 2013 23:57:07 +0000
(
00:57
+0100)
Cython/Compiler/Visitor.pxd
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.pxd
b/Cython/Compiler/Visitor.pxd
index
82b015c
..
6eaf2cc
100644
(file)
--- a/
Cython/Compiler/Visitor.pxd
+++ b/
Cython/Compiler/Visitor.pxd
@@
-28,8
+28,13
@@
cdef class EnvTransform(CythonTransform):
cdef public list env_stack
cdef class MethodDispatcherTransform(EnvTransform):
+ @cython.final
+ cdef _visit_binop_node(self, node)
+ @cython.final
cdef _find_handler(self, match_name, bint has_kwargs)
+ @cython.final
cdef _dispatch_to_handler(self, node, function, arg_list, kwargs)
+ @cython.final
cdef _dispatch_to_method_handler(self, attr_name, self_arg,
is_unbound_method, type_name,
node, arg_list, kwargs)