gh-133968: Add PyUnicodeWriter_WriteASCII() function by vstinner · Pull Request #133973 · python/cpython · GitHub

github.com

Tin mới

vstinner:write_ascii

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Using the public PyUnicodeWriter C API made the json module slower #133968

: Add PyUnicodeWriter_WriteASCII() function

awaiting core review

awaiting core review

gh-133968: Use private unicode writer for json #133832

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Update Doc/c-api/unicode.rst

Add PyUnicodeWriter_WriteASCII() function capi-workgroup/decisions#65

View reviewed changes

Update Doc/whatsnew/3.15.rst

Update Python/hamt.c

Address Peter's review

View reviewed changes

Test also empty string

View reviewed changes

Merge branch 'main' into write_ascii

Please the linter: remove an unused import

: Add PyUnicodeWriter_WriteASCII() function (

bedevere-app Bot commented May 31, 2025

bedevere-app Bot commented May 31, 2025

GH-134974 is a backport of this pull request to the 3.14 branch.

: Add PyUnicodeWriter_WriteASCII() function (

: Add PyUnicodeWriter_WriteASCII() function (

: Add PyUnicodeWriter_WriteASCII() function (

: Add PyUnicodeWriter_WriteASCII() function (

: Add PyUnicodeWriter_WriteASCII() function (