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 majuscule
Recipients majuscule
Date 2019-02-20.19:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550689341.22.0.769543209454.issue36056@roundup.psfhosted.org>
In-reply-to
Content
```
❯ python -c 'import pathlib; import importlib; importlib.import_module(pathlib.Path("poc.py"))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "~/.conda/envs/py3.6/lib/python3.6/importlib/__init__.py", line 117, in import_module
    if name.startswith('.'):
AttributeError: 'PosixPath' object has no attribute 'startswith'
```
History
Date User Action Args
2019-02-20 19:02:21majusculesetrecipients: + majuscule
2019-02-20 19:02:21majusculesetmessageid: <1550689341.22.0.769543209454.issue36056@roundup.psfhosted.org>
2019-02-20 19:02:21majusculelinkissue36056 messages
2019-02-20 19:02:21majusculecreate