Message415505
Neither of tokenize, ast or symtable modules support passing the source string as argument. If add this feature in the dis module, we will need to add it in all other modules with similar CLI. I do not think it is practical. You always can pass the source string via stdin. And you do not even need to pass /dev/stdin as argument, stdin is the default.
I usually use it with rlwrap. It allows to use some editing and history.
rlwrap ./python -m dis
I propose to close this issue and open a new issue for documenting the CLI of the dis module. |
|
Date |
User |
Action |
Args |
2022-03-18 15:17:19 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, ncoghlan, steven.daprano, yselivanov, eamanu, CCLDArjun |
2022-03-18 15:17:19 | serhiy.storchaka | set | messageid: <1647616639.48.0.59747605317.issue44405@roundup.psfhosted.org> |
2022-03-18 15:17:19 | serhiy.storchaka | link | issue44405 messages |
2022-03-18 15:17:19 | serhiy.storchaka | create | |
|