8000 [3.9] bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596) by miss-islington · Pull Request #29597 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000

[3.9] bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596) #29597

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

Merged
merged 1 commit into from
Nov 17, 2021

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Nov 17, 2021

If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.
(cherry picked from commit b919d81)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue45831

…thonGH-29596)

If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.
(cherry picked from commit b919d81)

Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington
Copy link
Contributor Author

@vstinner and @ambv: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@vstinner and @ambv: Status check is done, and it's a success ✅ .

@ambv ambv merged commit ac89f8c into python:3.9 Nov 17, 2021
@miss-islington miss-islington deleted the backport-b919d81-3.9 branch November 17, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0