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 IanLee1521, barry, docs@python, ezio.melotti, nanjekyejoannah, ncoghlan, pas, rhettinger, terry.reedy
Date 2019-08-25.02:21:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566699712.46.0.221204553363.issue23061@roundup.psfhosted.org>
In-reply-to
Content
At least some idlelib imports are delayed to avoid circular import errors, as described by Nick.

The patch adds 'Module level' before 'imports'.
Pro: techinically correct as only module level imports can be put at the top.
Com: might be seen as giving too much license to putting imports elsewhere.

Raymond, what do you think?  If you are not 'pro' enough to make the change, I think we should close.
History
Date User Action Args
2019-08-25 02:21:52terry.reedysetrecipients: + terry.reedy, barry, rhettinger, ncoghlan, ezio.melotti, docs@python, pas, IanLee1521, nanjekyejoannah
2019-08-25 02:21:52terry.reedysetmessageid: <1566699712.46.0.221204553363.issue23061@roundup.psfhosted.org>
2019-08-25 02:21:52terry.reedylinkissue23061 messages
2019-08-25 02:21:52terry.reedycreate