Commit 1b0999f9 authored by Boxiang Sun's avatar Boxiang Sun

Remove pdb

parent e88a3f0a
......@@ -1034,7 +1034,6 @@ class ExprNode(Node):
def coerce_to_temp(self, env):
# Ensure that the result is in a temporary.
import pdb; pdb.set_trace()
if self.result_in_temp():
return self
else:
......@@ -5853,7 +5852,6 @@ class SimpleCallNode(CallNode):
code.mark_pos(self.pos)
assert self.is_temp
import pdb; pdb.set_trace()
self.allocate_temp_result(code)
if arg is None:
......@@ -8777,7 +8775,6 @@ class DictNode(ExprNode):
# Custom method used here because key-value
# pairs are evaluated and used one at a time.
code.mark_pos(self.pos)
import pdb; pdb.set_trace()
self.allocate_temp_result(code)
if hasattr(self.type, 'nogil') and self.type.nogil:
......@@ -8840,7 +8837,6 @@ class DictNode(ExprNode):
if self.exclude_null_values:
code.putln('}')
elif self.type.nogil:
import pdb; pdb.set_trace()
code.putln("%s->%s = %s;" % (
self.result(),
item.key.value,
......
......@@ -5171,7 +5171,6 @@ class AssignmentNode(StatNode):
def generate_execution_code(self, code):
code.mark_pos(self.pos)
import pdb; pdb.set_trace()
self.generate_rhs_evaluation_code(code)
self.generate_assignment_code(code)
......@@ -5279,7 +5278,6 @@ class SingleAssignmentNode(AssignmentNode):
def analyse_types(self, env, use_temp=0):
from . import ExprNodes
import pdb; pdb.set_trace()
self.rhs = self.rhs.analyse_types(env)
unrolled_assignment = self.unroll_rhs(env)
......@@ -5524,7 +5522,6 @@ class CascadedAssignmentNode(AssignmentNode):
else:
rhs = rhs.coerce_to(lhs_types.pop(), env)
import pdb; pdb.set_trace()
if not rhs.is_name and not rhs.is_literal and (
use_temp or rhs.is_attribute or rhs.type.is_pyobject):
rhs = rhs.coerce_to_temp(env)
......
......@@ -520,7 +520,6 @@ def p_call_build_packed_args(pos, positional_args, keyword_args):
]
# TODO: implement a faster way to join tuples than creating each one and adding them
arg_tuple = reduce(partial(ExprNodes.binop_node, pos, '+'), subtuples)
import pdb; pdb.set_trace()
if keyword_args:
kwargs = []
dict_items = []
......
......@@ -1349,7 +1349,6 @@ class CythonExtensionType(CythonObjectType):
def declaration_code(self, entity_code,
for_display = 0, dll_linkage = None, pyrex = 0, deref = 0):
import pdb; pdb.set_trace()
if pyrex or for_display:
base_code = self.name
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment