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 pitrou
Recipients georg.brandl, jmillikin, pitrou, rhettinger
Date 2009-05-14.18:24:29
SpamBayes Score 7.539536e-07
Marked as misclassified No
Message-id <1242325471.95.0.703936150009.issue5945@psf.upfronthosting.co.za>
In-reply-to
Content
I understand this is indeed unintuitive. The reason list objects support
the C "mapping protocol" in 3.x is that it is how slicing of lists (and
tuples, for that matter) is implemented. Perhaps the documentation
should carry a warning about this.

Unfortunately, right now there is no easy way in C to check that an
object implements a given ABC.
History
Date User Action Args
2009-05-14 18:24:32pitrousetrecipients: + pitrou, georg.brandl, rhettinger, jmillikin
2009-05-14 18:24:31pitrousetmessageid: <1242325471.95.0.703936150009.issue5945@psf.upfronthosting.co.za>
2009-05-14 18:24:30pitroulinkissue5945 messages
2009-05-14 18:24:29pitroucreate