[docs] [issue10977] Concrete object C API needs abstract path for subclasses of builtin types

Nick Coghlan report at bugs.python.org
Wed Apr 6 16:59:37 CEST 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Changing the affected components. Antoine and Benjamin are right, this needs to be handled as a documentation and education problem.

Raymond's suggestion can too easily trigger infinite recursion and mine would block legitimate use cases in 3rd party code.

For heapq, we can just fix it to include the fallbacks to the abstract versions if PyList_CheckExact() fails.

----------
assignee:  -> docs at python
components: +Documentation -Interpreter Core
nosy: +docs at python

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10977>
_______________________________________


More information about the docs mailing list