summaryrefslogtreecommitdiff
path: root/Python/Python-ast.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
commit38c30e6c8e34241a1ea226fdd4ff74be6a8ee846 (patch)
treecfbe7c536c08399090a715862da78e6f98003eb2 /Python/Python-ast.c
parent06bb1226d18e657a36ddd492ec88c16c9108323b (diff)
downloadcpython-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