[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: Matthew Tanous: Oops, I completely missed this case! Thanks for the bug report. Thanks Anthony Shaw for the fix. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 948ed8c96b6912541a608591efe3e00fb520429a by Victor Stinner (Anthony Shaw) in branch 'master': bpo-36814: ensure os.posix_spawn() handles None (GH-13144) https://github.com/python/cpython/commit/948ed8c96b6912541a608591efe3e00fb520429a

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread anthony shaw
anthony shaw added the comment: After patch: Python 3.8.0a3+ (heads/31968-dirty:c664b342a4, May 6 2019, 18:06:21) [Clang 10.0.1 (clang-1001.0.46.4)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import os >>> os.posix_spawnp('whoami', ['whoami'], os.env

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread anthony shaw
anthony shaw added the comment: Issue is in parse_file_actions parse_file_actions(PyObject *file_actions, posix_spawn_file_actions_t *file_actionsp, PyObject *temp_buffer) { PyObject *seq; PyObject *file_action = NULL; PyObject *tag_obj; s

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread anthony shaw
anthony shaw added the comment: Raised a fix in GH-13144 -- stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list mai

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread anthony shaw
Change by anthony shaw : -- keywords: +patch pull_requests: +13057 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread anthony shaw
anthony shaw added the comment: Verified on master Python 3.8.0a3+ (heads/bpo-28367:373c7aa098, May 6 2019, 17:34:39) [Clang 10.0.1 (clang-1001.0.46.4)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> os.posix_spawnp('whoami', ['whoami'], os.environ, file_

[issue36814] posix_spawn explicit file_actions=None throws error

2019-05-06 Thread Matthew Tanous
New submission from Matthew Tanous : Allowing posix_spawn file_actions to default to None works, but explicitly setting it throws a TypeError: Python 3.8.0a3 (v3.8.0a3:9a448855b5, Mar 25 2019, 17:05:20) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for