[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(name[, mode[, buffering]]) -> file object
And no need to 'fix' the tests.

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list