[issue44405] add program passed as string to dis module.
Nick Coghlan
report at bugs.python.org
Fri Jul 23 07:13:22 EDT 2021
Nick Coghlan <ncoghlan at gmail.com> added the comment:
I suspect the only reason the dis CLI isn't documented is because it's been around for so long (22 years!) that nobody previously noticed it was missing: https://github.com/python/cpython/commit/1fdae12c93246fcf4abbf882ba08df789070dfcc
Folks then either didn't know about it, or already knew how to use it.
Even the migration to use argparse was a code cleanup from a user that happened to be reading the module source code and noticed that it didn't already do so: https://bugs.python.org/issue18538
I can see value in supporting `-c` and `-m` options to dis to align with the main interpreter CLI.
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44405>
_______________________________________
More information about the Python-bugs-list
mailing list