[issue44405] add program passed as string to dis module.

Serhiy Storchaka report at bugs.python.org
Sun Jun 13 04:12:10 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I often use the command-line interface of dis, ast, and sometimes tokenize modules. They are mature enough and not only for self-testing. If they are not documented, we need to document them.

Since they read from stdin by default (no need to specify /dev/stdin or CON explicitly) I never needed the -c option. It would not be particularly useful in any case because Python code is usually multi-line.

BTW sometimes I want to implement GUI for these modules in IDLE.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44405>
_______________________________________


More information about the Python-bugs-list mailing list