New submission from Nick Coghlan <ncogh...@gmail.com>: Add a new API in the dis module that:
1. Works like show_code() but returns a string rather than printing to stdout 2. Accepts source strings directly, similar to the dis.dis() changes for 3.2 Tentative name: get_code_info() Inspired by Yanov Aknin's ssc() utility and the issue 6507 updates to dis.dis() ---------- assignee: ncoghlan components: Library (Lib) messages: 109161 nosy: ncoghlan priority: normal severity: normal status: open title: dis.show_code() variant that accepts source strings (and returns rather than prints) type: feature request versions: Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com