FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-156939: Document that PyASCIIObject ends with null byte by vstinner · Pull Request #157708 · python/cpython · GitHub

Repository navigation

gh-156939: Document that PyASCIIObject ends with null byte - #157708

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:unicode_capi
Sep 19, 2026
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:unicode_capi

Conversation

vstinner commented Sep 17, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Document also that PyUnicode_READ_CHAR() supports reading the trailing null byte.

Add tests on PyUnicode_READ_CHAR().

Copy link
Copy Markdown
Member Author

This PR is similar to #157236 which documents PyBytesObject trailing null byte.

read-the-docs-community Bot commented Sep 17, 2026 •
edited
Loading

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34650751 | 📁 Comparing eef4c0c against main (5539c2a)

  🔍 Preview build  

6 files changed · ± 6 modified

± Modified

Document also that PyUnicode_READ_CHAR() supports reading the
trailing null byte.
vstinner enabled auto-merge (squash) September 19, 2026 13:49
vstinner merged commit 4d3b405 into python:main Sep 19, 2026
31 checks passed
vstinner deleted the unicode_capi branch September 19, 2026 13:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL