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 ztane
Recipients docs@python, joncle, mjpieters, ztane
Date 2015-04-04.11:30:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This does apply to all versions of Python from 2.6 up. Registering does work of course.

I believe the reason for not having the __subclasshook__ is the following sentence in PEP 3119: "ABCs are intended to solve problems that don't have a good solution at all in Python 2, such as distinguishing between mappings and sequences."

This used to be worse in <3.3 because there if you ever inherit from `Sequence` you will always end up having `__dict__`, even if you just want `__slots__`.

(By the way, if Py2 documentation is fixed, it should also say that these ABCs are new as of 2.6, not since 2.4 like the rest of the collections module).
Date User Action Args
2015-04-04 11:30:16ztanesetrecipients: + ztane, mjpieters, joncle, docs@python
2015-04-04 11:30:16ztanesetmessageid: <>
2015-04-04 11:30:16ztanelinkissue23864 messages
2015-04-04 11:30:16ztanecreate