[issue36814] posix_spawn explicit file_actions=None throws error
anthony shaw
report at bugs.python.org
Mon May 6 19:07:06 EDT 2019
anthony shaw <anthonyshaw at apache.org> 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;
seq = v(file_actions,
"file_actions must be a sequence or None");
if (seq == NULL) {
return -1;
}
PySequence_Fast will raise a TypeError if PyObject_GetIter fails.
----------
assignee: -> anthonypjshaw
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36814>
_______________________________________
More information about the Python-bugs-list
mailing list