[issue36056] importlib does not support pathlib

2019-02-20 Thread Dylan Lloyd
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

[issue36056] importlib does not support pathlib

2019-02-20 Thread Dylan Lloyd
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"

[issue35968] lib2to3 cannot parse rf''

2019-02-11 Thread Dylan Lloyd
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