This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients hroncok, nanjekyejoannah, pablogsal, torsava, vstinner
Date 2021-02-03.11:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> FileNotFoundError: [Errno 2] No such file or directory: './demo'

'./demo' filename is set with the following code in Modules/posixmodule.c:

    if (err_code) {
        errno = err_code;
        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path->object);
        goto exit;

I understand that Tomas wants to raise the OSError with no filename.

I add Pablo and Joannah in the loop, they worked on exposing posix_spawn function in Python.
Date User Action Args
2021-02-03 11:00:36vstinnersetrecipients: + vstinner, torsava, hroncok, pablogsal, nanjekyejoannah
2021-02-03 11:00:35vstinnersetmessageid: <>
2021-02-03 11:00:35vstinnerlinkissue43113 messages
2021-02-03 11:00:35vstinnercreate