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 steve.dower
Recipients steve.dower, terry.reedy, wueste87
Date 2017-02-03.18:49:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486147770.36.0.982504924561.issue29395@psf.upfronthosting.co.za>
In-reply-to
Content
I assume this is because Idle is doing "import code" somewhere and picking up your file instead of the real one.

Renaming the file to not conflict with the standard library is an immediate workaround, but perhaps Idle should do some sys.path protection around wherever it's importing that module.
History
Date User Action Args
2017-02-03 18:49:30steve.dowersetrecipients: + steve.dower, terry.reedy, wueste87
2017-02-03 18:49:30steve.dowersetmessageid: <1486147770.36.0.982504924561.issue29395@psf.upfronthosting.co.za>
2017-02-03 18:49:30steve.dowerlinkissue29395 messages
2017-02-03 18:49:30steve.dowercreate