homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:18eric.araujosetrecipients: + eric.araujo, docs@python, Claudiu.Popa
2011年09月09日 17:16:18eric.araujosetmessageid: <1315588578.58.0.205823567491.issue12920@psf.upfronthosting.co.za>
2011年09月09日 17:16:18eric.araujolinkissue12920 messages
2011年09月09日 17:16:17eric.araujocreate

AltStyle によって変換されたページ (->オリジナル) /