Author vstinner
Recipients Jim.Jewett, eric.snow, gvanrossum, vstinner
Date 2012-03-25.23:07:25
SpamBayes Score 0.00162708
Marked as misclassified No
Message-id <1332716845.96.0.4986003644.issue14386@psf.upfronthosting.co.za>
In-reply-to
Content
> A sequence *does* meet the (immutable) Mapping interface

Ah? Let's try:

>>> x=[1, 2, 3]
>>> x.get(2)
AttributeError: 'list' object has no attribute 'get'
>>> x.keys()
AttributeError: 'list' object has no attribute 'keys'

list doesn't implement the collections.abc.Mapping ABC.
History
Date User Action Args
2012-03-25 23:07:26vstinnersetrecipients: + vstinner, gvanrossum, eric.snow, Jim.Jewett
2012-03-25 23:07:25vstinnersetmessageid: <1332716845.96.0.4986003644.issue14386@psf.upfronthosting.co.za>
2012-03-25 23:07:25vstinnerlinkissue14386 messages
2012-03-25 23:07:25vstinnercreate