[issue4121] open(): use keyword only for arguments other than file and mode

Amaury Forgeot d'Arc report at bugs.python.org
Tue Oct 14 14:27:12 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Do you suggest that 'buffering' should be allowed as positional argument?

This would help with migration from 2.x, where open() accepts 3
positional arguments:
  open(...)
      open(name[, mode[, buffering]]) -> file object
And no need to 'fix' the tests.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4121>
_______________________________________


More information about the Python-bugs-list mailing list