[issue4428] make io.BufferedWriter observe max_buffer_size limits

Gregory P. Smith report at bugs.python.org
Wed Jan 21 01:18:11 CET 2009


Gregory P. Smith <greg at krypto.org> added the comment:

I know of no code relying on this behavior, I merely duplicated the 
behavior that existed while writing the patch.  I'm happy to simplify.  
Adding Guido to the CC list for a pronouncement.

Guido is it okay to change io.BufferedWriter.write() in release30-maint 
to no longer accept iterables that do not support len() and things that 
do not support the buffer API?

Antoine already notes in the codereview that other existing io classes 
such as FileIO currently do not support non bytes/buffer or buffer-api 
supporting inputs:  http://codereview.appspot.com/12470/patch/1/3

----------
nosy: +gvanrossum

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


More information about the Python-bugs-list mailing list