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, rhettinger, stutzbach, terry.reedy
Date 2012-12-22.02:26:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356143181.77.0.603217781448.issue16712@psf.upfronthosting.co.za>
In-reply-to
Content
I believe that using Sequence ABC as mix-in is recommended when implementing custom sequence.

But mixing-in it violates "should only provide __reversed__() if they can
 provide an implementation that is more efficient than the one
provided by reversed()."


Defining __reversed__ in Sequence ABC also means that classes doesn't have
__reversed__ aren't Sequence. While not implementing it is recommended
for most cases.
History
Date User Action Args
2012-12-22 02:26:21methanesetrecipients: + methane, rhettinger, terry.reedy, stutzbach
2012-12-22 02:26:21methanesetmessageid: <1356143181.77.0.603217781448.issue16712@psf.upfronthosting.co.za>
2012-12-22 02:26:21methanelinkissue16712 messages
2012-12-22 02:26:21methanecreate