Serhiy Storchaka added the comment:

This is expected behavior. When you write to ByitesIO you overwrites the old 
content.

If you want to append to ByitesIO, first move the position to the end: 
b.seek(0, io.SEEK_END).

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30010>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to