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-33817: Fix _PyBytes_Resize() for empty bytes object. #11516

Merged
merged 1 commit into from Jan 12, 2019

Conversation

Projects
None yet
4 participants
@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Jan 11, 2019

Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.

https://bugs.python.org/issue33817

bpo-33817: Fix _PyBytes_Resize() for empty bytes object.
Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.

@serhiy-storchaka serhiy-storchaka merged commit 44cc482 into python:master Jan 12, 2019

5 checks passed

Azure Pipelines PR #20190111.8 succeeded
Details
bedevere/issue-number Issue number 33817 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
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 12, 2019

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒🤖

@serhiy-storchaka serhiy-storchaka deleted the serhiy-storchaka:resize-empty-bytes branch Jan 12, 2019

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 12, 2019

GH-11532 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 12, 2019

bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (pythonGH-11516
)

Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.
(cherry picked from commit 44cc482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

miss-islington added a commit that referenced this pull request Jan 12, 2019

bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516)
Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.
(cherry picked from commit 44cc482)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment