diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-03 18:51:58 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-03 18:51:58 +0200 |
commit | 2cc2f792a75edb7f0eec1e9c6de6dffb6dc8de3c (patch) | |
tree | ba093199c5986f4415f825d7a678cf71a44884fc /Python/errors.c | |
parent | 03f2e93c665f30abdcc41859cc235621aa398184 (diff) | |
download | cpython-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