Message336138
| Author | berker.peksag |
|---|---|
| Recipients | berker.peksag, brett.cannon, majuscule |
| Date | 2019-02-20.19:13:46 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1550690026.35.0.114586567306.issue36056@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Thanks for the report, but importlib.import_module() doesn't accept a path of a Python module:
https://docs.python.org/3/library/importlib.html#importlib.import_module
So, the correct way to use the API is:
import importlib
importlib.import_module('poc')
Whether we should explicitly reject passing a file path to import_module() is up to the importlib maintainers. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-02-20 19:13:46 | berker.peksag | set | recipients: + berker.peksag, brett.cannon, majuscule |
| 2019-02-20 19:13:46 | berker.peksag | set | messageid: <1550690026.35.0.114586567306.issue36056@roundup.psfhosted.org> |
| 2019-02-20 19:13:46 | berker.peksag | link | issue36056 messages |
| 2019-02-20 19:13:46 | berker.peksag | create | |