On Fri, Oct 26, 2012 at 8:04 PM, <[email protected]> wrote: > Hi, > > my translation run fails with: > > -> assert s_value.contains(self.bindings[arg]) > > where s_value = SomeBool(knowntypedata={}) and self.bindings[arg] is > SomeBool(const=True, knowntypedata={}). > > The cause is this: > > if isinstance(self.functions[0], CPPFunction): > > where the s_value above is op.result coming the isinstance() call. > > With moving things around, the problem comes and goes (hence I thought I > had it fixed already, but it came back ...). > > Checking other calls to isinstance() in other modules, I can't see why it > would not be allowed here? Also, what would be the difference between a > const and a non-const bool? > > Any hints to get around this one are much appreciated! > > Thanks, > Wim > -- > [email protected] -- +1 (510) 486 6411 -- www.lavrijsen.net > _______________________________________________ > pypy-dev mailing list > [email protected] > http://mail.python.org/mailman/listinfo/pypy-dev
Hey. Can you give me the exact branch and revision so I can try? It depends a bit on the full traceback. _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
