Message211320
Well spotted.
I don't think that the line
COPYVAL(tp_dictoffset);
should be removed.
inherit_special() is called from PyType_Ready
which is used to initialise static TypeObjects.
So builtin class B which doesn't set tp_dictoffset,
but has builtin class A as its base, will not get its
tp_dictoffset initialized from A. |
|
Date |
User |
Action |
Args |
2014-02-16 15:27:27 | Mark.Shannon | set | recipients:
+ Mark.Shannon, pitrou, benjamin.peterson, pingebretson |
2014-02-16 15:27:26 | Mark.Shannon | set | messageid: <1392564446.96.0.0587487463539.issue20637@psf.upfronthosting.co.za> |
2014-02-16 15:27:26 | Mark.Shannon | link | issue20637 messages |
2014-02-16 15:27:26 | Mark.Shannon | create | |
|