This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients gvanrossum, jcea, meador.inge, pitrou, python-dev, sbt
Date 2011-12-12.13:27:09
SpamBayes Score 2.7661e-11
Marked as misclassified No
Message-id <1323696429.84.0.881145296297.issue13577@psf.upfronthosting.co.za>
In-reply-to
Content
About method_qualname.patch:

- apparently you forgot to add BuiltinFunctionPropertiesTest in test_main()?

- a static method keeps a reference to the type: I think it's ok, although I'm not sure about the consequences (Guido, would you have an idea?)

- about "XXX Note that it is not possible to use __qualname__ to distinguish a builtin bound instance method from its unbound equivalent", I don't think it's a problem. People can e.g. check for __self__:

>>> list.append.__self__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'method_descriptor' object has no attribute '__self__'
>>> list().append.__self__
[]
History
Date User Action Args
2011-12-12 13:27:09pitrousetrecipients: + pitrou, gvanrossum, jcea, meador.inge, python-dev, sbt
2011-12-12 13:27:09pitrousetmessageid: <1323696429.84.0.881145296297.issue13577@psf.upfronthosting.co.za>
2011-12-12 13:27:09pitroulinkissue13577 messages
2011-12-12 13:27:09pitroucreate