knorrie / python-btrfs

Python Btrfs module
GNU Lesser General Public License v3.0
112 stars 22 forks source link

Initial Python3 Support, Gitignore #1

Closed fandingo closed 8 years ago

fandingo commented 8 years ago

I wasn't able to observe any performance or memory problems with python2 and range during testing with a 12TB file system.

knorrie commented 8 years ago

Hi, thanks for pushing for python 3 compatibility. I also think the code should work for both, and the user should not care about it.

I just added python3 compatibility in the develop branch and verified that all scripts in examples/ work correctly when using 2 and when using 3.

The xrange is not a big deal, those are all very short lists.

I'm not going to add the .gitignore. My opinion is that exludes like *.pyc and things for your favourite editor should go into your "global" gitignore settings, and not be copied around to every git repo.

In ~/.gitconfig:

[core]
    excludesfile = /some/path/to/default/.gitignore

Hans

knorrie commented 8 years ago

This is in v0.2 now, closing because no reply seen any more. Thanks.