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 terry.reedy
Recipients CCLDArjun, terry.reedy, yselivanov
Date 2021-06-13.02:34:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623551648.08.0.776997736465.issue44405@roundup.psfhosted.org>
In-reply-to
Content
I checked https://docs.python.org/3/library/dis.html and there is no mention of dis having a command-line interface.  This suggests that _test is likely present only for testing the module, not for using it.  This was common a couple of decades ago before we had unittests.  If _test were considered obsolete, it could be removed.

By suggesting that the command line interface by upgraded, I suspect that you are implicitly suggesting that it be considered 'official'.  If so, that '_test' should become '_main' (where the underscore leaves it out of __all__), and the CLI documented as in other modules with a CLI.  (I am not up on the details and policy around this issue.)

It may be appropriate to start a discussion of python-ideas.
History
Date User Action Args
2021-06-13 02:34:08terry.reedysetrecipients: + terry.reedy, yselivanov, CCLDArjun
2021-06-13 02:34:08terry.reedysetmessageid: <1623551648.08.0.776997736465.issue44405@roundup.psfhosted.org>
2021-06-13 02:34:08terry.reedylinkissue44405 messages
2021-06-13 02:34:07terry.reedycreate