[issue31025] io.BytesIO: no way to get the length of the underlying buffer without copying data

Martin Panter report at bugs.python.org
Tue Jul 25 08:14:58 EDT 2017


Martin Panter added the comment:

Can’t you use b.seek(0, SEEK_END)?

----------
nosy: +martin.panter
versions:  -Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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


More information about the Python-bugs-list mailing list