Gregory P. Smith <g...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue4428> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com