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 <1376751233.97.0.624927544586.issue18626@psf.upfronthosting.co.za>
In-reply-to
Content
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):
    Origin
    Cached
    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
History
Date User Action Args
2013-08-17 14:53:53ncoghlansetrecipients: + ncoghlan, ezio.melotti, eric.snow, serhiy.storchaka
2013-08-17 14:53:53ncoghlansetmessageid: <1376751233.97.0.624927544586.issue18626@psf.upfronthosting.co.za>
2013-08-17 14:53:53ncoghlanlinkissue18626 messages
2013-08-17 14:53:53ncoghlancreate