EA-87708 Fixed: NPE: PyFunctionImpl.getWrappersFromStub

PY-19412 Fixed: Class method support becomes broken if method attribute is used

Check all next siblings stubs of PyTargetExpressionStub type in function modifier calculating and honour all nullable values
This commit is contained in:
Semyon Proshev
2016-09-07 19:44:57 +03:00
parent 7435c68baa
commit a8fcaed8ff
4 changed files with 56 additions and 20 deletions
@@ -0,0 +1,7 @@
class Spam(object):
def spam(cls):
pass
eggs = False
spam = classmethod(spam)
@@ -0,0 +1,3 @@
from a import Spam
Spam.spam()