Message149203
| Author | jcea |
|---|---|
| Recipients | eric.araujo, jcea, ncoghlan, pitrou, python-dev, sbt, vstinner |
| Date | 2011-12-11.01:54:18 |
| SpamBayes Score | 5.215799e-08 |
| Marked as misclassified | No |
| Message-id | <1323568459.66.0.42738504523.issue13448@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I am evaluating the use of "__qualname__" in my dtrace probes (issue #13405) and I see things like this: """ >>> def a() : ... class b() : ... pass ... return b() ... >>> c=a() >>> c <__main__.a.<locals>.b object at 0xfe37f3ac> >>> c.__qualname__ Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'b' object has no attribute '__qualname__' >>> a <function a at 0xfe3800bc> >>> a.__qualname__ 'a' """ I guess the class should have a __qualname__ too, haven't it? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-12-11 01:54:19 | jcea | set | recipients: + jcea, ncoghlan, pitrou, vstinner, eric.araujo, python-dev, sbt |
| 2011-12-11 01:54:19 | jcea | set | messageid: <1323568459.66.0.42738504523.issue13448@psf.upfronthosting.co.za> |
| 2011-12-11 01:54:19 | jcea | link | issue13448 messages |
| 2011-12-11 01:54:18 | jcea | create | |