Message273897
| 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:12 | terry.reedy | set | recipients:
+ terry.reedy |
| 2016年08月30日 03:07:12 | terry.reedy | set | messageid: <1472526432.35.0.967589490321.issue27891@psf.upfronthosting.co.za> |
| 2016年08月30日 03:07:12 | terry.reedy | link | issue27891 messages |
| 2016年08月30日 03:07:12 | terry.reedy | create |
|