Commit 7c4c9095 authored by Kevin Modzelewski's avatar Kevin Modzelewski

fix: need to check tp_getattro as well

parent 1505cc69
......@@ -208,7 +208,7 @@ public:
pyston_call tpp_call;
bool hasGenericGetattr() {
if (tp_getattr)
if (tp_getattr || tp_getattro != object_cls->tp_getattro)
return false;
// instancemethod_cls should have a custom tp_getattr but is currently implemented
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment