saltstack/salt — pull request #1358 by kwarterthieves (2012-05-29 22:13:11+00:00)
Title: Develop

I've done a preliminary preparation of much of the salt codebase for Python 3 compatibility using a shim (currently called salt._compat) to keep the one codebase simultaneously compatible with Python 2.6-Python 2.7. The shim works similarly to other Python 2 and 3 compatibility libraries like 'six'.

I've broken much of the rework into separate commits so it can be leisurely picked through commit by commit. It passes the same unit tests (using tox) that were passing as of last night (5/28/2012) on the Develop branch.