[issue10977] Concrete object C API needs abstract path for subclasses of builtin types
Daniel Urban
report at bugs.python.org
Sun Mar 20 13:27:15 CET 2011
Daniel Urban <urban.dani+py at gmail.com> added the comment:
Here is a patch for list. It modifies the following C API functions:
PyList_SetItem
PyList_Insert
PyList_Append
PyList_SetSlice
PyList_Sort
PyList_Reverse
_PyList_Extend
It also includes tests (with ctypes).
I plan to do next the same for dict, but first I'd wait for comments, to know if I'm doing something completely wrong :-)
----------
keywords: +patch
Added file: http://bugs.python.org/file21303/issue10977_list.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10977>
_______________________________________
More information about the Python-bugs-list
mailing list