From eec9f0ff9e052401f2083c529e4611ae04dc74c9 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <scoder@users.berlios.de>
Date: Thu, 11 Nov 2010 22:35:48 +0100
Subject: [PATCH] trial fix for bizarre build bug

---
 Cython/Compiler/Visitor.pxd | 2 +-
 Cython/Compiler/Visitor.py  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cython/Compiler/Visitor.pxd b/Cython/Compiler/Visitor.pxd
index 00ddb1779..ccd23f1d4 100644
--- a/Cython/Compiler/Visitor.pxd
+++ b/Cython/Compiler/Visitor.pxd
@@ -4,7 +4,7 @@ cdef class BasicVisitor:
     cdef dict dispatch_table
     cpdef visit(self, obj)
     cdef _visit(self, obj)
-    cdef _find_handler(self, obj)
+    cdef find_handler(self, obj)
 
 cdef class TreeVisitor(BasicVisitor):
     cdef public list access_path
diff --git a/Cython/Compiler/Visitor.py b/Cython/Compiler/Visitor.py
index 545f855b8..6ff36034d 100644
--- a/Cython/Compiler/Visitor.py
+++ b/Cython/Compiler/Visitor.py
@@ -26,11 +26,11 @@ class BasicVisitor(object):
         try:
             handler_method = self.dispatch_table[type(obj)]
         except KeyError:
-            handler_method = self._find_handler(obj)
+            handler_method = self.find_handler(obj)
             self.dispatch_table[type(obj)] = handler_method
         return handler_method(obj)
 
-    def _find_handler(self, obj):
+    def find_handler(self, obj):
         cls = type(obj)
         #print "Cache miss for class %s in visitor %s" % (
         #    cls.__name__, type(self).__name__)
-- 
2.30.9