On 11/10/06, consternation <[EMAIL PROTECTED]> wrote:
result:
isinstance(x,X)
False
type(x) is X
False
<type 'list'>
list

I think you need to show us more of your code.  Your variable, v, is not of type X in this example.  Instead, it is of type list.  What is self.mem.items()?  It isn't a dictionary like your comment seems to imply, or you would get a TypeError on that line because dictionaries aren't callable.

Please give us enough sample code that we can actually run it and see what you're seeing.

--
Jerry

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to