Author vstinner
Recipients christian.heimes, gregory.p.smith, vstinner
Date 2019-10-10.07:57:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570694228.58.0.589566081811.issue38417@roundup.psfhosted.org>
In-reply-to
Content
pylint emits a warning on subprocess.Popen(preexec_fn=func):

   W1509: Using preexec_fn keyword which may be unsafe in
   the presence of threads (subprocess-popen-preexec-fn)

But not when using subprocess.run(preexec_fn=func). Maybe a check is missing in pylint.

Note: pyflakes doesn't complain about preexec_fn.
History
Date User Action Args
2019-10-10 07:57:08vstinnersetrecipients: + vstinner, gregory.p.smith, christian.heimes
2019-10-10 07:57:08vstinnersetmessageid: <1570694228.58.0.589566081811.issue38417@roundup.psfhosted.org>
2019-10-10 07:57:08vstinnerlinkissue38417 messages
2019-10-10 07:57:08vstinnercreate