[issue28226] compileall does not support pathlib

Berker Peksag report at bugs.python.org
Thu Sep 29 23:24:16 EDT 2016


Berker Peksag added the comment:

> Is there a fix for compileall missing from the patch?

No, os.path.* functions have taken care of the conversion, but the output was in the following format:

    Compiling PosixPath('/tmp/tmp_nfh98lw/_test.py')...

I fixed it, added a test for the ddir argument and simplified tests a bit.

----------
components: +Library (Lib)
nosy: +berker.peksag
Added file: http://bugs.python.org/file44886/issue28226_v2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28226>
_______________________________________


More information about the Python-bugs-list mailing list