Message143773
> 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? |
|
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 | |
|