libsass-python icon indicating copy to clipboard operation
libsass-python copied to clipboard

Add support to python Path-like objects

Open diraol opened this issue 8 years ago • 3 comments

In order to better support python 3.6, it would be nice to support Path-like objects instead of only strings on the "path" arguments/attributes.

https://docs.python.org/3/library/pathlib.html

diraol avatar May 04 '17 16:05 diraol

We welcome pull requests if you'd like to take a first stab at this :)

asottile avatar May 04 '17 16:05 asottile

I'll try to work on it, but probably only on next week ;)

diraol avatar May 04 '17 16:05 diraol

We might be possible to utilize os.fspath() (introduced by PEP 519).

dahlia avatar May 05 '17 19:05 dahlia