-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
gh-106446: Fix failed doctest in stdtypes #106447
gh-106446: Fix failed doctest in stdtypes #106447
Conversation
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.
More of the doctests definitely need changes, regardless of CI issues. See issue comment.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Should I put all fixes in one PR? These changes may need to be backported to different Python versions :) |
That is why I checked the output back to 3.11. I believe everything was same back to 3.11. So 'yes'. |
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.
Thank you for the additions. They look good. I am not going to touch the address issue now.
I added "Note that all byte lengths may depend on the operating system." so that readers will not be puzzled if they run those examples, or doctest them, on Windows. I am ready to merge once you approve the new sentence.
Thanks. This change looks good to me, please merge :) @terryjreedy |
Thanks @CharlieZhao95 for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @CharlieZhao95 and @terryjreedy, I could not cleanly backport this to |
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 89867d2) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
GH-106741 is a backport of this pull request to the 3.12 branch. |
This comment was marked as resolved.
This comment was marked as resolved.
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 89867d2)
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 89867d2) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
GH-106742 is a backport of this pull request to the 3.11 branch. |
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Fix failed doctest in stdtypes.
stdtypes.rst
#106446📚 Documentation preview 📚: https://cpython-previews--106447.org.readthedocs.build/