homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Trundle, docs@python, eric.snow, r.david.murray, rhettinger
Date 2011年05月03日.21:18:11
SpamBayes Score 0.001526652
Marked as misclassified No
Message-id <1304457494.25.0.312885147039.issue11988@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
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: <1304457494.25.0.312885147039.issue11988@psf.upfronthosting.co.za>
2011年05月03日 21:18:11eric.snowlinkissue11988 messages
2011年05月03日 21:18:11eric.snowcreate

AltStyle によって変換されたページ (->オリジナル) /