-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-93096: Remove -t
and -v
flags from pickle
cli
#131068
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
Conversation
Lib/test/test_pickle.py
Outdated
@@ -700,7 +700,7 @@ def test_multiprocessing_exceptions(self): | |||
|
|||
|
|||
def load_tests(loader, tests, pattern): | |||
tests.addTest(doctest.DocTestSuite()) | |||
tests.addTest(doctest.DocTestSuite(pickle)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, this looks like a bugfix. It should be backported. Can you extract this change into a new PR? It's not directly related to CLI changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sure, should i open new issue or can i send PR for the current issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can reuse the same issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to document the current command line interface (CLI) in Doc/library/pickle.rst? https://docs.python.org/dev/library/pickle.html
I think it can be suggested in issue #130160 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@serhiy-storchaka: Are you ok with these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
./python -m doctest Lib/pickle.py -v