[pypy-issue] [issue1396] @signature doesn't work with types.Self() and PBC
Alex Gaynor
tracker at bugs.pypy.org
Tue Feb 12 23:01:27 CET 2013
Alex Gaynor <alex.gaynor at gmail.com> added the comment:
Going from memory here (sorry for all the types ;))
class X(object):
def _freeze_(self):
return True
@signature(types.self())
def method(self):
pass
def test_foo():
x = X()
def f():
return x.method()
translate(f)
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1396>
________________________________________
More information about the pypy-issue
mailing list