summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-03 18:51:58 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-03 18:51:58 +0200
commit2cc2f792a75edb7f0eec1e9c6de6dffb6dc8de3c (patch)
treeba093199c5986f4415f825d7a678cf71a44884fc /Python/errors.c
parent03f2e93c665f30abdcc41859cc235621aa398184 (diff)
downloadcpython-2cc2f792a75edb7f0eec1e9c6de6dffb6dc8de3c.tar.gz
Issue #15381: Fixed a bug in BytesIO.write().
It was expected that string_size == PyBytes_GET_SIZE(buf) if the buffer is shared, but truncate() and __setstate__() can set string_size without unsharing the buffer.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions