Message230593
| Author |
amaury.forgeotdarc |
| Recipients |
amaury.forgeotdarc, techdragon |
| Date |
2014年11月04日.09:23:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1415092994.42.0.203865062882.issue22790@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Why did you specify "during class initialization" only? When I print dir(Foo.Bar) at top-level, there is no __qualname__.
Then, note that '__name__' is not listed either, so it's not about new attributes.
It was chosen that dir(someClass) tries to list the know attributes of instances, not the attributes of the class object itself (__bases__, __mro__, and so on).
See https://docs.python.org/3.4/library/functions.html#dir |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年11月04日 09:23:14 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, techdragon |
| 2014年11月04日 09:23:14 | amaury.forgeotdarc | set | messageid: <1415092994.42.0.203865062882.issue22790@psf.upfronthosting.co.za> |
| 2014年11月04日 09:23:14 | amaury.forgeotdarc | link | issue22790 messages |
| 2014年11月04日 09:23:14 | amaury.forgeotdarc | create |
|