Dylan Lloyd added the comment:
Whoops, yes, that of course makes sense. My mistake. Thanks!
--
resolution: not a bug ->
status: closed -> open
type: enhancement ->
___
Python tracker
<https://bugs.python.or
New submission from Dylan Lloyd :
```
❯ python -c 'import pathlib; import importlib;
importlib.import_module(pathlib.Path("poc.py"))'
Traceback (most recent call last):
File "", line 1, in
File "~/.conda/envs/py3.6/lib/python3.6/importlib/__init__.py"
New submission from Dylan Lloyd :
```
#!/usr/bin/env python
# -*- coding: utf-8 -*-
regex_format = rf''
```
```
yapf poc.py
```
```
Traceback (most recent call last):
File "lib/python3.6/site-packages/yapf/yapflib/pytree_utils.py", line 115, in
ParseCodeToTre