mirror of
https://github.com/python/cpython.git
synced 2026-05-14 16:38:19 -04:00
fc57ccb982
inherit_slots(): tp_as_buffer was getting inherited as if it were a method pointer, rather than a pointer to a vector of method pointers. As a result, inheriting from a type that implemented buffer methods was ineffective, leaving all the tp_as_buffer slots NULL in the subclass.