Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
[3.14] gh-133968: Add PyUnicodeWriter_WriteASCII() function (#133973)#134974
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:3.14
Are you sure you want to change the base?
Conversation
…3973)Replace most PyUnicodeWriter_WriteUTF8() calls withPyUnicodeWriter_WriteASCII().Unrelated change to please the linter: remove an unusedimport in test_ctypes.Co-authored-by: Peter Bierma <zintensitydev@gmail.com>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>(cherry picked from commitf49a07b)
@hugovk: Hi, can I have an exception to add this late feature into Python 3.14 after the feature freeze? It was decided late but it comes with the This change fix also a performance regression compared to Python 3.13:Using the public PyUnicodeWriter C API made the json module slower.
|
Uh oh!
There was an error while loading.Please reload this page.
Replace most PyUnicodeWriter_WriteUTF8() calls with PyUnicodeWriter_WriteASCII().
Unrelated change to please the linter: remove an unused import in test_ctypes.
(cherry picked from commitf49a07b)
📚 Documentation preview 📚:https://cpython-previews--134974.org.readthedocs.build/