Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Python 3 support in the same code base #19
This is construct modified to run under Python 3 as well as Python 2, in the same code base. Specifically, both of the following test runs are succeeding:
Regarding what this means for construct - it doesn't mean parsing Unicode. construct is for parsing byte streams, so the changes are solely for the purpose of making it run at all on Python 3.
I agree completely that text/unicode parsing is not the focus of construct, and would even go as far as to remove the current very partial and incomplete support construct has for text parsing. This is ultimately your decision of course.
Feel free to ask me any questions/details about the pull request. It's a pretty straightforward port to a python 2/3 portable code, really.
On Tue, May 15, 2012 at 10:53 PM, Tomer Filiba