Message143773
| Author |
eric.araujo |
| Recipients |
Claudiu.Popa, docs@python, eric.araujo |
| Date |
2011年09月09日.17:16:17 |
| SpamBayes Score |
0.00066223304 |
| Marked as misclassified |
No |
| Message-id |
<1315588578.58.0.205823567491.issue12920@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> inspect.getsource called with a class defined in the same file fails
> with TypeError: <module '__main__' (built-in)> is a built-in class
The error message makes me think that getsource(__main__) was used, not getsource(SomeClass). Can you check again? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年09月09日 17:16:18 | eric.araujo | set | recipients:
+ eric.araujo, docs@python, Claudiu.Popa |
| 2011年09月09日 17:16:18 | eric.araujo | set | messageid: <1315588578.58.0.205823567491.issue12920@psf.upfronthosting.co.za> |
| 2011年09月09日 17:16:18 | eric.araujo | link | issue12920 messages |
| 2011年09月09日 17:16:17 | eric.araujo | create |
|