[IronPython] Re: A little bug about "in" operator

Timothy Fitz firemoth at gmail.com
Thu Oct 21 00:08:22 CEST 2004

> Unfortunately, this leads to the conclusion that the fallback code
> here isn't working. On further inspection, Ops.Equal is returning
> Ops.NotImplemented, which is actually a string. A string tests true.
> The ISequence fix rids you of the tuple problem, however A:
> Ops.NotImplemented should be a class, and B: IntOps.Equals should
> handle the string case in some way or another.

P.S. Anything wrong with solving A via changing 
public static object NotImplemented = "<NotImplemented>"; //!!! need
really singleton objects
public static object NotImplemented = new

More information about the Ironpython-users mailing list