dlo/objectifier — pull request #7 by msabramo (2012-10-23 22:22:11+00:00)
Title: Add support for Python 3.x

Pretty easy, because instead of changing code, I simply rely on [distribute's `use_2to3` feature](xxx), which automatically translates from Python 2 to Python 3 at packaging/installation time. The trick is to make sure that the tests run against the translated code and not the untranslated code in the source directory -- this is why I use `nosetests`, because I know how to do this with `nosetests` in a cross-platform way and I'm not sure how to accomplish this with `unittest`'s test runner.

With this change and also the Python 2.6 changes in #xx, I get this from Tox:

```
py26: commands succeeded
py27: commands succeeded
py30: commands succeeded
py31: commands succeeded
py32: commands succeeded
ERROR: py33: commands failed
pypy: commands succeeded
```

The Python 3.3 failure seems to be because of non-determinism in the order in which items are iterated through in a dictionary and this is easily fixable by relaxing the tests, which I will do in another PR if I don't forget and have time :-)