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 methane
Recipients methane, ncoghlan, rhettinger, stutzbach, terry.reedy
Date 2012-12-26.02:12:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356487939.39.0.788499347251.issue16712@psf.upfronthosting.co.za>
In-reply-to
Content
__contains__ is required for Container.
So there is a clear reason to define it.

Additionaly, http://docs.python.org/3.3/reference/datamodel.html#object.__contains__
doesn't discourage to implement slower pure-python method.

In case of __reversed__, I can't find a reason to require it and
reference discourage it explicitly.
History
Date User Action Args
2012-12-26 02:12:19methanesetrecipients: + methane, rhettinger, terry.reedy, ncoghlan, stutzbach
2012-12-26 02:12:19methanesetmessageid: <1356487939.39.0.788499347251.issue16712@psf.upfronthosting.co.za>
2012-12-26 02:12:19methanelinkissue16712 messages
2012-12-26 02:12:19methanecreate