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 martin.panter, Алексей Аверченко
Date 2018-03-25.13:47:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521985651.41.0.467229070634.issue31823@psf.upfronthosting.co.za>
In-reply-to
Content
The close_fds=<object . . .> in that signature seems fine to me. If you read the documentation, it says the default mode depends on the platform, and on other parameters. However I think the signature at <https://docs.python.org/release/3.6.4/library/subprocess.html#subprocess.Popen> should not show close_fds=True, because that is not necessarily the default on Windows.

It seems the default on Windows was changed to always True in 3.7, making it consistent across platforms and other parameters, thanks to Issue 19764. But the 3.7 documentation is quirky. “Changed in version 3.2: The default for ‘close_fds’ was changed from False to what is described above” refers to the 3.7 default when it was meant to refer to the 3.2–3.6 default.
History
Date User Action Args
2018-03-25 13:47:31martin.pantersetrecipients: + martin.panter, Алексей Аверченко
2018-03-25 13:47:31martin.pantersetmessageid: <1521985651.41.0.467229070634.issue31823@psf.upfronthosting.co.za>
2018-03-25 13:47:31martin.panterlinkissue31823 messages
2018-03-25 13:47:31martin.pantercreate