Jeffrey Kintscher <websur...@surf2c.net> added the comment:
The current behavior, stgdict->length = len; sets the number of elements in the class excluding its base classes. The new behavior of stgdict->length = ffi_ofs + len; sets the total number of elements in both the class and its base classes. This works as intended as long as the child classes do not add any more elements. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue18060> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com