gh-106446: Fix failed doctest in stdtypes#106447
Conversation
terryjreedy
left a comment
There was a problem hiding this comment.
More of the doctests definitely need changes, regardless of CI issues. See issue comment.
Sorry, something went wrong.
|
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 |
Sorry, something went wrong.
Should I put all fixes in one PR? These changes may need to be backported to different Python versions :) |
Sorry, something went wrong.
|
That is why I checked the output back to 3.11. I believe everything was same back to 3.11. So 'yes'. |
Sorry, something went wrong.
terryjreedy
left a comment
There was a problem hiding this comment.
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.
Sorry, something went wrong.
|
Thanks. This change looks good to me, please merge :) @terryjreedy |
Sorry, something went wrong.
|
Thanks @CharlieZhao95 for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry, @CharlieZhao95 and @terryjreedy, I could not cleanly backport this to |
Sorry, something went wrong.
--------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 89867d2) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
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>
--------- 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/