Message 336139 - Python tracker

Message336139

Author serhiy.storchaka
Recipients berker.peksag, brett.cannon, majuscule, remi.lapeyre, serhiy.storchaka
Date 2019-02-20.19:31:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550691104.51.0.504349820967.issue36056@roundup.psfhosted.org>
In-reply-to
Content
I concur with Berker. Since the argument of importlib.import_module() is not a path, pathlib.Path is not valid here.

It is uncommon in Python to check the type of arguments explicitly. pathlib.Path is not more special than list or tkinter.Button.
History
Date User Action Args
2019-02-20 19:31:44serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, berker.peksag, remi.lapeyre, majuscule
2019-02-20 19:31:44serhiy.storchakasetmessageid: <1550691104.51.0.504349820967.issue36056@roundup.psfhosted.org>
2019-02-20 19:31:44serhiy.storchakalinkissue36056 messages
2019-02-20 19:31:44serhiy.storchakacreate