Skip to content
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

bpo-36365: Rewrite structseq_repr() using _PyUnicodeWriter #12440

Merged
merged 2 commits into from Mar 19, 2019

Conversation

Projects
None yet
3 participants
@vstinner
Copy link
Member

vstinner commented Mar 19, 2019

No longer limit repr(structseq) to 512 bytes. Use _PyUnicodeWriter
for better performance and write directly Unicode rather than using
encode repr() value to UTF-8 and then decode from UTF-8.

https://bugs.python.org/issue36365

bpo-36365: Rewrite structseq_repr() using _PyUnicodeWriter
No longer limit repr(structseq) to 512 bytes. Use _PyUnicodeWriter
for better performance and write directly Unicode rather than using
encode repr() value to UTF-8 and then decode from UTF-8.

@vstinner vstinner merged commit c70ab02 into python:master Mar 19, 2019

5 checks passed

Azure Pipelines PR #20190319.49 succeeded
Details
bedevere/issue-number Issue number 36365 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@vstinner vstinner deleted the vstinner:structseq_writer branch Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.