All pastes #591921 Raw Edit

Someone

public text v1 · immutable
#591921 ·published 2007-06-27 14:14 UTC
rendered paste body
    from dispatch.predicates import CriteriaBuilder
  File "/var/lib/python-support/python2.5/dispatch/predicates.py", line 708, in <module>
    "expr in Call and expr.function is isinstance"
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line 690, in when
    return self._decorate(cond)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line 577, in _decorate
    cond = self.parseRule(cond,frame=frame) or cond
  File "<string>", line 10, in parseRule
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line 440, in parseRule
    return self.parse(rule, frame.f_locals, frame.f_globals)
  File "/var/lib/python-support/python2.5/dispatch/functions.py", line 326, in parse
    return parse_expr(expr_string,builder)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py", line 383, in parse_expr
    return build(builder, parser.expr(expr).totuple(1)[1])
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py", line 51, in com_binary
    return getattr(builder,opname)(items)
  File "/var/lib/python-support/python2.5/dispatch/predicates.py", line 609, in And
    return reduce(operator.and_,[build(self,expr) for expr in items])
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py", line 378, in build
    return production[nodelist[0]](builder,nodelist)
  File "/var/lib/python-support/python2.5/dispatch/ast_builder.py", line 111, in comparison
    return builder.Compare(nodelist[1], results)
  File "/var/lib/python-support/python2.5/dispatch/predicates.py", line 595, in Compare
    right = ICriterion(Pointer(right.value))
  File "/var/lib/python-support/python2.5/dispatch/strategy.py", line 541, in __new__
    self = int.__new__(cls,id(ob))
OverflowError: long int too large to convert to int