--- you can reply above this line ---
Issue 1809: `type(''.find) == type(str.find)` on pypy
https://bitbucket.org/pypy/pypy/issue/1809/type-find-type-strfind-on-pypy
Armin Rigo:
This is documented here:
http://pypy.readthedocs.org/en/latest/cpython_differences.html (search for
`method-wrapper`). The problem is that built-in types behave more like
user-defined types. `A.meth` and `A().meth` both return an object of type
`MethodType`. This likely needs to be fixed in IPython. As usual in CPython,
given a method object you can find if it's bound or unbound by checking if
`methodobj.im_self` is None or not.
Changes:
status: new -> invalid
--
Unsubscribe from issue emails for this repository.
https://bitbucket.org/pypy/pypy/issue/1809/unsubscribe/pypy-issue/6e76247274a3807c79a06038960a37232129c3c2/
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue