Commit 28da35c7 authored by Chris Toshok's avatar Chris Toshok

the tpp_hasnext/__hasnext__ changes require us to be able to __call__...

the tpp_hasnext/__hasnext__ changes require us to be able to __call__ descriptors for wrapped pyston methods.  this shouldn't be a problem, though, at least for tpp_hasnext
parent 62e3664e
......@@ -139,7 +139,7 @@ public:
if (flags == PyWrapperFlag_KEYWORDS) {
wrapperfunc_kwds wk = (wrapperfunc_kwds)wrapper;
rtn = (*wk)(self->obj, args, self->descr->wrapped, kwds);
} else if (flags == 0) {
} else if (flags == PyWrapperFlag_PYSTON || flags == 0) {
rtn = (*wrapper)(self->obj, args, self->descr->wrapped);
} else {
RELEASE_ASSERT(0, "%d", flags);
......
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