Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: I propose the following changes to the file_actions parameter in PR 6725. Currently it is the fourth positional-only parameter with the default value None.
1. Change its default value to an empty tuple. None will no longer be accepted as a special case. This will simplify a mental model. 2. Since the order of parameters already doesn't math the natural order of the corresponding C function, and many other keyword-only parameters will be added in PR 6693, it makes sense to make file_actions a keyword-only parameter too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue20104> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com