Glenn Linderman <v+pyt...@g.nevcal.com> added the comment:

Also, the required behavior of make_file changes, to need the right encoding, 
or binary, so that needs to be documented as a change for people porting from 
2.x. It would be possible, even for files, which will be uploaded as binary, 
for a user to know the appropriate encoding and, if the file is to be processed 
rather than saved, supply that encoding for the temporary file.  So the 
temporary file may not want to be assumed to be binary, even though we want to 
write binary to it.  So similarly to the input stream, if it is TextIOBase, we 
want to write to the .buffer.

----------

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

Reply via email to