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 JokeNeverSoke, ned.deily, ronaldoussoren, terry.reedy, xtreak
Date 2018-09-07.21:49:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
idlelib/ imports math through about 3 intermediaries.  Hence it failed, and pyshell displayed the message in the .png.  Both modules can raise failure messages.  In #25514, the message was revised to point to a new section of the doc: "Startup failure".  The second paragraph is

"A common cause of failure is a user-written file with the same name as a standard library module, such as and When such a file is located in the same directory as a file that is about to be run, IDLE cannot import the stdlib file.  The current fix is to rename the user file."

This is what Joseph should have seen.  I added a note to the issue to also fix the pyshell message to point to this section.

A better but harder fix would be to temporarily remove the user directory from sys.path so that user files cannot stop run's startup.
Date User Action Args
2018-09-07 21:49:34terry.reedysetrecipients: + terry.reedy, ronaldoussoren, ned.deily, xtreak, JokeNeverSoke
2018-09-07 21:49:34terry.reedysetmessageid: <>
2018-09-07 21:49:34terry.reedylinkissue34584 messages
2018-09-07 21:49:34terry.reedycreate