bpo-33817: Fix _PyBytes_Resize() for empty bytes object. by serhiy-storchaka · Pull Request #11516 · python/cpython

@serhiy-storchaka

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

@serhiy-storchaka added the type-bug

An unexpected behavior, bug, or error

label

Jan 11, 2019

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>