Author eric.snow
Recipients Trundle, docs@python, eric.snow, r.david.murray, rhettinger
Date 2011-05-03.21:18:11
SpamBayes Score 0.00152665
Marked as misclassified No
Message-id <>
In 2.7 I get the following (if Y does not inherit from object):

>>> print('res:', 1 in y)
('X contains:', 1)
('res:', False)

This makes sense with old style classes.  With Y(object):

>>> print('res:', 1 in y)
Y iter
('res:', True)
Date User Action Args
2011-05-03 21:18:14eric.snowsetrecipients: + eric.snow, rhettinger, r.david.murray, Trundle, docs@python
2011-05-03 21:18:14eric.snowsetmessageid: <>
2011-05-03 21:18:11eric.snowlinkissue11988 messages
2011-05-03 21:18:11eric.snowcreate