Message149299
| Author |
pitrou |
| Recipients |
gvanrossum, jcea, meador.inge, pitrou, python-dev, sbt |
| Date |
2011年12月12日.13:27:09 |
| SpamBayes Score |
2.766104e-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: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 |
|