homepage

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日.01:46:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472521619.5.0.761842088013.issue27891@psf.upfronthosting.co.za>
In-reply-to
Content
PEP 8 suggests separately grouping stdlib, dependency, and local package imports. Within idlelib, idlelib imports are treated as local package imports. Tkinter is sometimes treated as a dependency, which makes its imports easy to notice, and I want to do this consistently. It is conventional to sort imports within each group. This is sometimes true now, sometimes not (even before the 3.6 renaming).
The possible danger of rearranging imports is that a line gets deleted and not pasted. Rietveld's side-by-side diff should make this easy to detect.
This issue is about re-arranging the imports currently at the top of a file, and any module level imports that I notice elsewhere. Dealing with delayed imports within functions and classed will be another issue, which will depend on this one.
History
Date User Action Args
2016年08月30日 01:46:59terry.reedysetrecipients: + terry.reedy
2016年08月30日 01:46:59terry.reedysetmessageid: <1472521619.5.0.761842088013.issue27891@psf.upfronthosting.co.za>
2016年08月30日 01:46:59terry.reedylinkissue27891 messages
2016年08月30日 01:46:58terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /