Antoine Pitrou added the comment: > Okay, different approach: How about having a mode argument with a > default? (Defaults of 'rb', 'r', 'wb', 'w' respectively.)
This is redundant with the fact that there are several distinct methods: {read,write}_{bytes,text}. Really, the aim is to ease common operations, not to replace open() entirely. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com