bpo-20104: Expose posix_spawn in the os module#5109
Conversation
360963b to
c1fce61
Compare
January 6, 2018 02:26
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
|
I suggest creating |
Sorry, something went wrong.
|
Is then ok to bring |
Sorry, something went wrong.
|
good point. given that, just define a trio of simple data classes of your own or some constants to indicate open/close/dup2 for use as the first element of a tuple? the "good" thing about os/posix module APIs is that they can be quite low level looking. This is the module providing a relatively raw wrapper of system calls. higher level abstrations to make using them easier often live in other modules. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @gpshead: please review the changes made to this pull request. |
Sorry, something went wrong.
posix_spawn in the os module 7c9d964 to
b25b7d1
Compare
January 21, 2018 02:12
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @gpshead: please review the changes made to this pull request. |
Sorry, something went wrong.
|
Also there are trailing spaces added by this PR. |
Sorry, something went wrong.
|
@serhiy-storchaka I am trying to correct all these new issues in Corrected in #6331. Please, notice that some of them (like the result of |
Sorry, something went wrong.
This PR exposes
posix_spawnin the os module. This also adds a new class in said module to work withposix_spawnfile_actions argument.https://bugs.python.org/issue20104