[PATCH] Python 2.6 and 3.x compatibility

Leandro Lucarella <[email protected]> Mon, 6 Apr 2009 11:18:59 -0300
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Hi! Attached are 2 patches to make A-A-P Python 2.6 compatible and to improve
Python 3.x compatibility (it's not yet Python 3.x compatible as the changes
needed break backward compatibility).

I guess backward compatibility should not be broken by these patches (at least
for Python 2.x series), because I've done the patches with backward
compatibility in mind, but I'm not sure (specially for the "in" operator).

Using A-A-P with Python 2.6 passes all the tests.

Adding support for Python 3.x is backward incompatible, so I guess a new branch
should be done to tackle that. If there are interest in this, I could provide
patches for this too.


------------------------------------------------------------------------------