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 ncoghlan
Recipients eric.snow, ezio.melotti, ncoghlan, serhiy.storchaka
Date 2013-08-17.14:53:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I realised that with the "module:qualname" syntax, it's straightforward to expand this beyond module introspection to arbitrary objects.

What I suggest we could output:

- a header with key module info (names taken from PEP 451):
    Submodule search path
    Loader (repr output)

- for non-module objects, also include the line within the file (if it can be determined)

- the output of getsource() if a "--source" option is given
Date User Action Args
2013-08-17 14:53:53ncoghlansetrecipients: + ncoghlan, ezio.melotti, eric.snow, serhiy.storchaka
2013-08-17 14:53:53ncoghlansetmessageid: <>
2013-08-17 14:53:53ncoghlanlinkissue18626 messages
2013-08-17 14:53:53ncoghlancreate