Subject | FDB and Python 3 |
---|---|
Author | Philippe Makowski |
Post date | 2012-01-11T13:09:34Z |
Hi,
I'm about to make FDB working with Python 3
I see 3 solutions for that :
- Like SQLAlchemy rely on a 2to3 script
- Add some if PYTHON_MAJOR_VER==3:
everywhere that it is need
- Make two subdir : one for Python 2 , one for Python 3, like for
example the MySQL driver do
see http://bazaar.launchpad.net/~geertjmvdk/myconnpy/main/files
I think that the last solution is the best, because the first one
doesn't seems so reliable, the second one is sometimes hard to manage,
and a lot of people tend to handle Python 2 and Python 3 like 2 separate
languages, and it make some sens
opinion ?
I'm about to make FDB working with Python 3
I see 3 solutions for that :
- Like SQLAlchemy rely on a 2to3 script
- Add some if PYTHON_MAJOR_VER==3:
everywhere that it is need
- Make two subdir : one for Python 2 , one for Python 3, like for
example the MySQL driver do
see http://bazaar.launchpad.net/~geertjmvdk/myconnpy/main/files
I think that the last solution is the best, because the first one
doesn't seems so reliable, the second one is sometimes hard to manage,
and a lot of people tend to handle Python 2 and Python 3 like 2 separate
languages, and it make some sens
opinion ?