PyFilesystem / pyfilesystem

Python filesystem abstraction layer
http://pyfilesystem.org/
BSD 3-Clause "New" or "Revised" License
287 stars 63 forks source link

Is Python3 supported? #246

Closed DamienCassou closed 8 years ago

DamienCassou commented 8 years ago

Could you please tell in the README if Pyhon3 is supported and to what extent? I'm trying to find the cause of some errors in nixpkgs.

DamienCassou commented 8 years ago

Or at least here :-). Thanks

lurch commented 8 years ago

http://docs.pyfilesystem.org/en/latest/releasenotes.html :-) (or the bottom of https://pypi.python.org/pypi/fs/0.5.4 or https://github.com/PyFilesystem/pyfilesystem/blob/master/tox.ini )

IIRC there are a few small parts that don't work with Python3 (due to dependent-libraries not supporting Py3), but the majority of PyFilesystem should be fine.

DamienCassou commented 8 years ago

Some of your source code is not python3 compatible as far as I can tell reading https://docs.python.org/2/tutorial/errors.html#handling-exceptions. For example

https://github.com/PyFilesystem/pyfilesystem/blob/master/fs/errors.py#L220

DamienCassou commented 8 years ago

We are discussing about this at https://github.com/NixOS/nixpkgs/pull/13066#issuecomment-185202862

lurch commented 8 years ago

I guess this can be closed now?

DamienCassou commented 8 years ago

yes, thanks.