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 petr.viktorin
Recipients JunyiXie, petr.viktorin
Date 2021-07-20.13:07:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626786461.62.0.376624878264.issue43629@roundup.psfhosted.org>
In-reply-to
Content
The public function that calls _PyRun_SimpleFileObject is PyRun_SimpleStringFlags, and the behavior is as specified in its documentation: "Executes the Python source code from command in the __main__ module according to the flags argument. If __main__ does not already exist, it is created."

https://docs.python.org/3.8/c-api/veryhigh.html?highlight=pyrun_simplefileexflags#c.PyRun_SimpleStringFlags
History
Date User Action Args
2021-07-20 13:07:41petr.viktorinsetrecipients: + petr.viktorin, JunyiXie
2021-07-20 13:07:41petr.viktorinsetmessageid: <1626786461.62.0.376624878264.issue43629@roundup.psfhosted.org>
2021-07-20 13:07:41petr.viktorinlinkissue43629 messages
2021-07-20 13:07:41petr.viktorincreate