Message195478
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 |
|
Date |
User |
Action |
Args |
2013-08-17 14:53:53 | ncoghlan | set | recipients:
+ ncoghlan, ezio.melotti, eric.snow, serhiy.storchaka |
2013-08-17 14:53:53 | ncoghlan | set | messageid: <1376751233.97.0.624927544586.issue18626@psf.upfronthosting.co.za> |
2013-08-17 14:53:53 | ncoghlan | link | issue18626 messages |
2013-08-17 14:53:53 | ncoghlan | create | |
|