Commits

Stephen Tu committed cc12bd7

comment out some pdb stuff

Comments (0)

Files changed (1)

pypy/interpreter/astcompiler/codegen.py

 
     def _get_originating_scope(self, scope, name):
         '''get the originating scope for symbol name'''
-        #self._break_if_file_matches('yy.py')
         name = self._base_dotted_name(name)
         no = scope.lookup(name)
         if no == symtable.SCOPE_GLOBAL_EXPLICIT:
 
     def _break_if_cond_fails(self, cond):
         pass
-
-        if not cond:
-            import pdb
-            pdb.set_trace()
+        #if not cond:
+        #    import pdb
+        #    pdb.set_trace()
 
     ### Visitors ###
 
                     self._record_binary_feature(target, 'assigned_cap_symbol')
 
     def visit_Assign(self, node):
-        #self._break_if_file_matches('fooassign.py')
         for target in node.targets:
             self._assign_helper(target, node.value)
         ast.GenericASTVisitor.visit_Assign(self, node)
         ast.GenericASTVisitor.visit_Attribute(self, node)
 
     def visit_Subscript(self, node):
-        #self._break_if_file_matches('fooidx.py')
         self._record_binary_feature(node.value, 'used_as_subscriptable')
         # node.slice is handled in visit_{Slice,Index}()
         ast.GenericASTVisitor.visit_Subscript(self, node)