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 nikitakit
Recipients Claudiu.Popa, Naddiseo, eric.araujo, ned.deily, nikitakit, zorceta
Date 2015-10-12.06:33:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I just ran into this issue trying to introspect an IPython session, in which case the __main__ module doesn't have a file associated with it.

But it turns out that methods defined in a class do have source code associated with them, so it's possible to add a workaround for the common case where a class actually has methods.

Date User Action Args
2015-10-12 06:33:34nikitakitsetrecipients: + nikitakit, ned.deily, eric.araujo, Claudiu.Popa, Naddiseo, zorceta
2015-10-12 06:33:34nikitakitsetmessageid: <>
2015-10-12 06:33:34nikitakitlinkissue12920 messages
2015-10-12 06:33:33nikitakitcreate