New submission from py.user: >>> print(open.__doc__) open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) -> file object
It would be handy to use open('file.txt', 'r', 'utf-8') instead of open('file.txt', 'r', encoding='utf-8') ---------- components: Interpreter Core messages: 200445 nosy: py.user priority: normal severity: normal status: open title: Swap keyword arguments in open() to make encoding easier to use type: enhancement versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19300> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com