Daniel Urban <urban.dani...@gmail.com> added the comment: I've made a patch, which adds a disassemble_str function to the dis module. The dis.dis function calls this function if x is a string. Added the following sentence to the documentation: "Strings are first compiled to code objects with the :func:`compile` built-in function." Added two simle unittests.
---------- keywords: +patch nosy: +durban Added file: http://bugs.python.org/file16871/issue6507.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6507> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com