Author ncoghlan
Recipients ncoghlan
Date 2013-08-02.03:12:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375413160.45.0.218073630788.issue18626@psf.upfronthosting.co.za>
In-reply-to
Content
"python -m inspect <name>" doesn't currently do anything.

It would be handy if this:

    python -m inspect site

Was roughly equivalent to:

    python -c "import inspect, site; print(inspect.getsource(site))"

Even better would be if it understood entry point notation so you could use "modname:qualname" to get the source code of a particular item within a module.
History
Date User Action Args
2013-08-02 03:12:40ncoghlansetrecipients: + ncoghlan
2013-08-02 03:12:40ncoghlansetmessageid: <1375413160.45.0.218073630788.issue18626@psf.upfronthosting.co.za>
2013-08-02 03:12:40ncoghlanlinkissue18626 messages
2013-08-02 03:12:39ncoghlancreate