Roger Serwy added the comment: The attached patch allows the same parser code to run under Python 2 and Python 3. I'm not sure how to test it other than by running the test suite which passed.
---------- Added file: http://bugs.python.org/file29677/patch_2and3.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15964> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com