Irit Katriel <iritkatr...@gmail.com> added the comment:
I also think the current error message and docs are clear enough. Things are usually case sensitive, and we don't state that in docs. Specifying the list of modes in the error message is possible, but I expect that we will get complaints about variations we did not list (why do you mention only "r" and "w" when "rw" is also fine?) ---------- nosy: +iritkatriel resolution: -> wont fix status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42543> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com