[PATCH] D54120: [python] Support PathLike filenames and directories
Jakub Stasiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 5 13:05:02 PST 2018
jstasiak created this revision.
jstasiak added reviewers: mgorny, jbcoe.
Herald added a subscriber: arphaman.
Python 3.6 introduced a file system path protocol (PEP 519[1]). The standard library APIs accepting file system paths now accept path objects too. It could be useful to add this here as well for convenience.
[1] https://www.python.org/dev/peps/pep-0519
Repository:
rC Clang
https://reviews.llvm.org/D54120
Files:
bindings/python/clang/cindex.py
bindings/python/tests/cindex/test_cdb.py
bindings/python/tests/cindex/test_code_completion.py
bindings/python/tests/cindex/test_translation_unit.py
bindings/python/tests/cindex/util.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54120.172641.patch
Type: text/x-patch
Size: 13876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181105/486723a2/attachment.bin>
More information about the cfe-commits
mailing list