[pypy-issue] [Bitbucket] Issue #1809: `type(''.find) == type(str.find)` on pypy (pypy/pypy)

Yichao Yu issues-reply at bitbucket.org
Fri Jul 4 12:44:20 CEST 2014


--- 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

Yichao Yu:

I've seen the document but I am asking because `list.__add__` and `str.find` are of different types on CPython.

You are right that I missed the case for user defined classes which actually means the type check in IPython is wrong and useless. (probably only not for a class defined in c extension? unlikely anyway....) Will file a issue there.

Will still be interesting, though not really needed in this case, to see if it is possible to check if a object is a bound/unbound method.



--

Unsubscribe from issue emails for this repository.
https://bitbucket.org/pypy/pypy/issue/1809/unsubscribe/pypy-issue/6e76247274a3807c79a06038960a37232129c3c2/


More information about the pypy-issue mailing list