Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-119182: Use public PyUnicodeWriter in contextvar_tp_repr() #120809

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
Jun 20, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 20, 2024

The public PyUnicodeWriter API enables overallocation by default and so is more efficient. It also makes the code simpler and shorter.

The public PyUnicodeWriter API enables overallocation by default and
so is more efficient. It also makes the code simpler and shorter.
@vstinner vstinner requested a review from 1st1 as a code owner June 20, 2024 19:33
@vstinner vstinner enabled auto-merge (squash) June 20, 2024 19:52
@vstinner vstinner merged commit 56657f6 into python:main Jun 20, 2024
36 checks passed
@vstinner vstinner deleted the contextvar_repr branch June 20, 2024 19:56
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…ython#120809)

The public PyUnicodeWriter API enables overallocation by default and
so is more efficient. It also makes the code simpler and shorter.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…ython#120809)

The public PyUnicodeWriter API enables overallocation by default and
so is more efficient. It also makes the code simpler and shorter.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…ython#120809)

The public PyUnicodeWriter API enables overallocation by default and
so is more efficient. It also makes the code simpler and shorter.
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.