Paolo Veglia added the comment:
I had the same issue as Jonathan with Python 3.5.1, big chunks of data get
truncated (to ~85KB).
The problem disappears when splitting original data into smaller chunks:
def _write(self,data):
chunk_size = 1024
for chunk in (data[i:i+chunk_size] for i in range(0, len(data),
chunk_size)):
self.stdout.write(chunk)
----------
nosy: +Paolo Veglia
versions: -Python 2.7, Python 3.4, Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24291>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com