-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing references to cli flags for pickletools
#130973
Comments
The t flag is probably something internal that we don't want to expose and the v flag then becomes also internal as it only affects self-tests. |
Note: even if they are available through -h/--help I don't think we want to document them explicitly |
cc @serhiy-storchaka wdyt? |
imho don't see something bad to have consistency between -help and doc. any reason against this? |
Yes, because it's something not meant for the enduser. It's only used for running self-tests so it's not really the purpose of the tool. Ideally, I would rather move the self-testing into the regular test directory instead but self-testing is sometimes used by the module's maintainer if they don't want to run the entire test suite. |
For instance, the only output that the enduser should expect from using -t is "SUCCESS" because otherwise something really went wrong when we released Python. So I don't think we need to document those two commands (IIRC there are other modules with this kind of self-testing and I don't think we actually documented them) |
Documentation
While looking for more examples for issue #130160 i found that the
pickletools
CLI documentation doesn't cover all the flags. I know many CLI docs don't mention the-h
flag but this one also doesn't mention the-t
and-v
flags./python -m pickletools -h
output:Link to current documentation: https://docs.python.org/dev/library/pickletools.html
Linked PRs
pickletools
#130974The text was updated successfully, but these errors were encountered: