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 terry.reedy
Date 2016-08-30.03:07:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472526432.35.0.967589490321.issue27891@psf.upfronthosting.co.za>
In-reply-to
Content
On 2002 Sept 14, the following was merged into editor.py (then EditorWindow.py) as part of the smart indenting code added to the bottom.

import tokenize
_tokenize
del tokenize

This now would usually be written "import tokenize as _tokenize".  Stdlib modules without explicit __all__ often do this to omit stdlib modules from their public interface.  Idlelib does not do this.  Add to README import standards.  I put replaced the above with 'import tokenize' as the top where is belongs and changed all '_tokenize' to 'tokenize'.
History
Date User Action Args
2016-08-30 03:07:12terry.reedysetrecipients: + terry.reedy
2016-08-30 03:07:12terry.reedysetmessageid: <1472526432.35.0.967589490321.issue27891@psf.upfronthosting.co.za>
2016-08-30 03:07:12terry.reedylinkissue27891 messages
2016-08-30 03:07:12terry.reedycreate