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 martin.panter
Recipients John Jones, alex, benjamin.peterson, dhduvall, gennad, gregory.p.smith, martin.panter, neologix, pablogsal
Date 2018-01-29.10:34:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517222083.4.0.467229070634.issue20104@psf.upfronthosting.co.za>
In-reply-to
Content
TypeError if “posix_spawn_file_actions_init” fails doesn’t seem right. I suggest OSError, MemoryError, or even plain Exception instead.

“File_actionsp” is set to point to a local variable “_file_actions”, but the variable goes out of scope before the pointer is used. This is technically undefined behaviour (even if it happens to work). Simplest solution would be to move the variables into the same outer scope.
History
Date User Action Args
2018-01-29 10:34:43martin.pantersetrecipients: + martin.panter, gregory.p.smith, benjamin.peterson, alex, dhduvall, neologix, gennad, John Jones, pablogsal
2018-01-29 10:34:43martin.pantersetmessageid: <1517222083.4.0.467229070634.issue20104@psf.upfronthosting.co.za>
2018-01-29 10:34:43martin.panterlinkissue20104 messages
2018-01-29 10:34:43martin.pantercreate