[issue29741] BytesIO methods don't accept integer types, while StringIO counterparts do

Martin Panter report at bugs.python.org
Mon Mar 6 18:10:34 EST 2017


Martin Panter added the comment:

What is the use case? Unless changing the behaviour would be useful, I think the simplest solution would be to document that the methods should only be given instances of “int”, so that it is clear that other kinds of numbers are unsupported.

----------
nosy: +martin.panter

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


More information about the Python-bugs-list mailing list