jbernard/dotfiles — pull request #8 by living180 (2012-03-08 22:15:30+00:00)
Title: Support for Python 3

These changes make dotfiles Python 3 compatible while still retaining full Python 2 support. Here's a summary of the changes:

* all calls to print had only a single argument, so added surrounding parentheses to support usage as a function in Python 3
* replaced usage of file() with open()
* replaced usage of iterkeys()/itervalues()

In addition, I added trove classifiers for the supported Python versions to setup.py.

My primary motivation for these changes is to be able to add Windows support to dotfiles, but support for symlinks on Windows was not added until Python 3.2.