vlasovskikh / funcparserlib

Recursive descent parsing library for Python based on functional combinators
https://funcparserlib.pirx.ru
MIT License
338 stars 38 forks source link

Python 3 compatibility #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to use with Python 3

What is the expected output? What do you see instead?

Lots of syntax errors -- u'...' is now a syntax error, as is 'except Foo, e'.

OK, so I'm actually willing to do the work on this I think, but what I want to 
know is how concerned you are with earlier Python versions. For instance, it's 
possible to 'from __future__ import unicode_literals' and then change u'...' to 
'...', but only starting with Python 2.6 Are you concerned with supporting 
versions of Python earlier than that?

Original issue reported on code.google.com by drisc...@cs.wisc.edu on 20 Nov 2012 at 4:29

GoogleCodeExporter commented 9 years ago
Wait, I just saw that Issue #32 was on this too, but that's marked as fixed. 
Yet I have, to my knowledge, your hg tip. Any idea what's going on?

Original comment by drisc...@cs.wisc.edu on 20 Nov 2012 at 4:35

GoogleCodeExporter commented 9 years ago
The default branch is considered experimental. I'll recommend to use the 0.3.x 
branch. I've made it compatible with Python 3 (the code is converted 
automatically in setup.py during the installation), but I haven't yet released 
the version 0.3.6.

Original comment by andrey.vlasovskikh on 20 Nov 2012 at 4:39

GoogleCodeExporter commented 9 years ago
Thanks for the super-fast response!

Original comment by drisc...@cs.wisc.edu on 20 Nov 2012 at 5:37