[issue20104] expose posix_spawn(p)
Serhiy Storchaka
report at bugs.python.org
Tue May 8 05:53:52 EDT 2018
Serhiy Storchaka <storchaka+cpython at 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 <report at bugs.python.org>
<https://bugs.python.org/issue20104>
_______________________________________
More information about the Python-bugs-list
mailing list