[pypy-dev] Unbound method must be called with instance as first
argument
Armin Rigo
arigo at tunes.org
Tue Jul 13 11:54:11 MEST 2004
Hello Richard,
On Sun, Jul 11, 2004 at 01:57:29PM +0100, Richard Emslie wrote:
> I did notice that
> def f(): pass
> f.__get__()
>
> crashes the pypy interpreter.
Yuk. The performance_shortcut_call() optimization is buggy: it doesn't
check the number of arguments before calling the interp-level
implementation. Fixed. (But I still think that the whole gateway.py
mess needs simplification...)
Thanks,
Armin
More information about the pypy-dev
mailing list