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 ncoghlan
Date 2013-08-02.03:12:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"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.
Date User Action Args
2013-08-02 03:12:40ncoghlansetrecipients: + ncoghlan
2013-08-02 03:12:40ncoghlansetmessageid: <>
2013-08-02 03:12:40ncoghlanlinkissue18626 messages
2013-08-02 03:12:39ncoghlancreate