Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:resize-empty-bytes
Jan 12, 2019
Merged

bpo-33817: Fix _PyBytes_Resize() for empty bytes object.#11516
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:resize-empty-bytes

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Jan 11, 2019

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

https://bugs.python.org/issue33817

Add also tests for PyUnicode_FromFormat() and PyBytes_FromFormat()
with empty result.
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jan 11, 2019
@serhiy-storchaka serhiy-storchaka merged commit 44cc482 into python:master Jan 12, 2019
@miss-islington
Copy link
Copy Markdown
Contributor

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

@bedevere-bot
Copy link
Copy Markdown

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

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

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
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

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants