[Python-Dev] Can I introspect/reflect to get arguments exec()? (original) (raw)
PJ Eby pje at telecommunity.com
Thu Mar 28 20:44:10 CET 2013
- Previous message: [Python-Dev] Can I introspect/reflect to get arguments exec()?
- Next message: [Python-Dev] Safely importing zip files with C extensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Mar 28, 2013 at 6:43 AM, Rocky Bernstein <rocky at gnu.org> wrote:
Of course the debugger uses sys.settrace too, so the evil-ness of that is definitely not a concern. But possibly I need to make sure that since the DecoratorTools and the debugger both hook into trace hooks they play nice together and fire in the right order.
DecoratorTools' trace hooking is unrelated to its linecache functionality. All you need from it is the cache_source() function; you can pretty much ignore everything else for your purposes. You'll just need to give it a phony filename to work with, and the associated string.
- Previous message: [Python-Dev] Can I introspect/reflect to get arguments exec()?
- Next message: [Python-Dev] Safely importing zip files with C extensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]