Message 324501 - Python tracker

Message324501

Author serhiy.storchaka
Recipients eli.bendersky, nilanjan roy, scoder, serhiy.storchaka
Date 2018-09-03.07:30:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535959807.29.0.56676864532.issue34461@psf.upfronthosting.co.za>
In-reply-to
Content
I concur with Stefan. Not all users of ElementTree need to import ElementInclude, ElementPath and deprecated cElementTree. If you need ElementInclude or ElementPath, it is better to specify this explicitly. The star import is not recommended in general case (you even can't use it in a local scope in Python 3). The valid use of it is with modules that define a lot of names and are specially designed for this (like tkinter or turtle) and in an interactive session.
History
Date User Action Args
2018-09-03 07:30:07serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, eli.bendersky, nilanjan roy
2018-09-03 07:30:07serhiy.storchakasetmessageid: <1535959807.29.0.56676864532.issue34461@psf.upfronthosting.co.za>
2018-09-03 07:30:07serhiy.storchakalinkissue34461 messages
2018-09-03 07:30:07serhiy.storchakacreate