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 terry.reedy
Recipients Dima.Tisnek, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2020-05-16.02:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
python -m test.testsubprocessing on my Win 10-64 with repository 3.9.0a6+, without your patch, produces

minkernel\crts\ucrt\src\appcrt\lowio\write.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)
.minkernel\crts\ucrt\src\appcrt\lowio\close.cpp(49) : Assertion failed: (_osfile(fh) & FOPEN)

followed by

Ran 313 tests in 43.808s
OK (skipped=180)

Since, I presume, you are not working on Windows, I made a PR branch, recompiled, and reran test_subprocess.  Same result.  So I triggered a rerun in case the error was an oddball or in case cpython has changed.

Did not work.  Try close and re-open instead.  Appears to be working better.
Date User Action Args
2020-05-16 02:27:53terry.reedysetrecipients: + terry.reedy, paul.moore, tim.golden, Dima.Tisnek, zach.ware, steve.dower
2020-05-16 02:27:53terry.reedysetmessageid: <>
2020-05-16 02:27:53terry.reedylinkissue40590 messages
2020-05-16 02:27:53terry.reedycreate