Alex Gaynor <[email protected]> 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 <[email protected]>
<https://bugs.pypy.org/issue1396>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to