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 benjamin.peterson, georg.brandl, gvanrossum, jmillikin, pitrou, rhettinger
Date 2011-01-04.10:31:21
SpamBayes Score 0.001167796
Marked as misclassified No
Message-id <1294137083.13.0.410855543979.issue5945@psf.upfronthosting.co.za>
In-reply-to
Content
> Right, calling PyMapping_Check() was never particularly reliable, and
> extension modules depending on it probably always had subtle bugs. 

> Perhaps it would be nice if we provided a C API to at least some of
> the ABC package.

In the meantime, would it be reasonable to add the moral equivalent of `hasattr(type(op), 'items')` to PyMapping_Check()?
History
Date User Action Args
2011-01-04 10:31:23pitrousetrecipients: + pitrou, gvanrossum, georg.brandl, rhettinger, benjamin.peterson, jmillikin
2011-01-04 10:31:23pitrousetmessageid: <1294137083.13.0.410855543979.issue5945@psf.upfronthosting.co.za>
2011-01-04 10:31:21pitroulinkissue5945 messages
2011-01-04 10:31:21pitroucreate