Message149299
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__
[] |
|
| Date |
User |
Action |
Args |
| 2011-12-12 13:27:09 | pitrou | set | recipients:
+ pitrou, gvanrossum, jcea, meador.inge, python-dev, sbt |
| 2011-12-12 13:27:09 | pitrou | set | messageid: <1323696429.84.0.881145296297.issue13577@psf.upfronthosting.co.za> |
| 2011-12-12 13:27:09 | pitrou | link | issue13577 messages |
| 2011-12-12 13:27:09 | pitrou | create | |
|