You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Ghost" arguments are being passed to method calls! #137
I am working with the latest commit in cinder/3.10. I am running some scripts that depend on the aiohttp, aiosignal and lxml packages (among others). However, for many (though not all) method calls inside these packages, I am getting TypeErrors of the following nature.
Notice the arbitrarily large number. I am however able to fix this error by changing method calls from self.method(args) to self.method.__call__(args). I have seen this issue with both methods without arguments and methods with (a few) arguments.
Is this issue known? Is there some other way to get around this problem? I am working on a minimal example.
Thanks for directing me to those links, @tekknolagi. I suppose there is no solution from Cinder at the moment --should I just stick to __call__ for now?
I don't know, I'm afraid. I've since left the Cinder team and all I can contribute to this discussion is that it seems vectorcall/nargsf related. I would recommend trying to rebuild your C extensions for Cinder and see if that fixes things.
Activity
tekknolagi commentedon May 19, 2024
See also #131
tekknolagi commentedon May 19, 2024
and #129
tekknolagi commentedon May 19, 2024
And cython/cython#5880
mrigankpawagi commentedon May 20, 2024
Thanks for directing me to those links, @tekknolagi. I suppose there is no solution from Cinder at the moment --should I just stick to
__call__for now?tekknolagi commentedon May 20, 2024
I don't know, I'm afraid. I've since left the Cinder team and all I can contribute to this discussion is that it seems vectorcall/nargsf related. I would recommend trying to rebuild your C extensions for Cinder and see if that fixes things.
mrigankpawagi commentedon May 20, 2024
Okay, I will try that. Thanks for your time! I will close this issue for now.