This weekend I’ve been busy porting MySQL Connector/Python to Python 3.1 in a new experimental branch. It is quite a challenge and I was advised to actually rewrite the whole thing for Py3K. However, after crawling through the TypeErrors and other exceptions I figured I did good with porting the code. It helps to re-factor some ancient, weird lines of code and learns me the new goodies coming with Python v3.1.
Status: examples are somehow working, but not all unittests. So we are like 60% away from having MySQL under Python 3.1.
I must say that I love Python 3.1! Especially the Text and Data concept! The major caveat is that we’ll have to maintain 2 branches since it’s totally incompatible with previous Python versions.
So how we are going to name Python 2K and 3K branches? Shall we pack both Python v2.x and v3.x in the same package and let the setup tools decide what to install? I’m favoring this, so there is no “What shall I download?” confusion.
Universal Python Eggs anyone?
Comments
I'm really thinking of indeed making one package, size should be OK. But I'm not sure I would like to count on '2to3' since there are features like 'abs' I would like to use eventually.
But lets first work on get it working :-)
I don't care if it's still very rough around the edges. Thanks.
have a question, I'm trying rebuilt an excel 2003⁄7 app. Looking at mysql/p(j)ython solution, any advice or tutorials. Excel does alot of calculations.
Sorry, missed your question, but it's so rough it's ugly still. I hope to get a package ready before End of Year.
@Rackeer:
Excel? No.. lol?