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 vstinner
Recipients serhiy.storchaka, terry.reedy, vstinner
Date 2017-10-12.09:49:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507801783.49.0.213398074469.issue25588@psf.upfronthosting.co.za>
In-reply-to
Content
I proposed PR 3962 to fix a few issues in regrtest when sys.stdout and sys.stderr have to file descriptor.

I'm not sure that we should promote running tests with unusual sys.stdout and sys.stderr, since many tests fail in that case. That's why I chose to not add a NEWS entry to my PR.

For example, test_builtin hangs until you write something in IDLE, whereas no prompt is displayed. test_faulthandler fails, and much more tests. I'm not interested to support running the Python test suite in IDLE.

Maybe we should even detect that we are running in IDLE and fail with an helpful error message like :

"Running the Python test suite inside IDLE is not supported. Run the test suite in a terminal."

At least, write a warning in UPPERCASE if sys.stdout or sys.stderr have no file descriptor?
History
Date User Action Args
2017-10-12 09:49:43vstinnersetrecipients: + vstinner, terry.reedy, serhiy.storchaka
2017-10-12 09:49:43vstinnersetmessageid: <1507801783.49.0.213398074469.issue25588@psf.upfronthosting.co.za>
2017-10-12 09:49:43vstinnerlinkissue25588 messages
2017-10-12 09:49:43vstinnercreate