This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients CCLDArjun, eamanu, ncoghlan, serhiy.storchaka, steven.daprano, terry.reedy, yselivanov
Date 2021-07-23.11:13:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1627038802.95.0.137813819708.issue44405@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-07-23 11:13:22ncoghlansetrecipients: + ncoghlan, terry.reedy, steven.daprano, serhiy.storchaka, yselivanov, eamanu, CCLDArjun
2021-07-23 11:13:22ncoghlansetmessageid: <1627038802.95.0.137813819708.issue44405@roundup.psfhosted.org>
2021-07-23 11:13:22ncoghlanlinkissue44405 messages
2021-07-23 11:13:22ncoghlancreate