anthony shaw <anthonys...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36814>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to