-
da-woods authored
The __self__ argument should be present only for bound functions. Fixes https://github.com/cython/cython/issues/4036 Currently it isn't easily possible to get this working absolutely correctly for fused functions. I raise an attribute error but hasattr still returns True. Additionally, Python 2 methods always have a __self__ attribute but set it to None. I follow Python 3 behaviour and don't have the attribute.
03278313