Antoon Pardon added the comment: I think one could argue for allowing mode "r+" instead of "wb". Because "w" suggest truncation, which doesn't make sense on sockets either.
But in the end I agree that allowing 'r', 'w', 'b' and 't' is probably the best compromise available. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com