[New-bugs-announce] [issue30010] Initial bytes to BytesIO cannot be seeked to

Samuli G report at bugs.python.org
Fri Apr 7 03:40:16 EDT 2017


New submission from Samuli G:

The initial bytes provided for the BytesIO constructor are lost when the stream is written to.

Seeking to offset zero, and then getting the value of the entire buffer results of getting only the bytes that have been appended by calling "write".

----------
components: IO
files: bytesio_bug.py
messages: 291254
nosy: Samuli G
priority: normal
severity: normal
status: open
title: Initial bytes to BytesIO cannot be seeked to
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file46784/bytesio_bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30010>
_______________________________________


More information about the New-bugs-announce mailing list