Terry J. Reedy <tjre...@udel.edu> added the comment:
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. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40590> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com