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 | 38c30e6c8e34241a1ea226fdd4ff74be6a8ee846 (patch) | |
tree | cfbe7c536c08399090a715862da78e6f98003eb2 /Python/Python-ast.c | |
parent | 06bb1226d18e657a36ddd492ec88c16c9108323b (diff) | |
download | cpython-git-38c30e6c8e34241a1ea226fdd4ff74be6a8ee846.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions