jaybaird/python-bloomfilter — pull request #14 by Bachmann1234 (2014-06-11 01:04:24+00:00)
Title: Python3 no six

Here I attempt to port to python3 without using the six library. I also add a tox.ini so the tests will run for python 6, python7, and python3.4

Python 3 is nice, cleaner, faster, and does unicode better than python2.

The problem is that it is not backwards compatible with python2, so you have to smooth out rough edges when supporting both.

In this project the biggies were
xrange no longer exists. range does what xrange did
imports are absolute, I backported this with __future__ so we could support both/
StringIO is different, for what we do here you want bytesIO as StringIO demands a str type which in python 3 is unicode
Setup.py needed an update as the ez_setup had some unsupported syntax\

The tests all pass for all environments. Though I will keep an eye on the project to see if any issues come up due to python3 stuff.