View Single Post
Old 09-18-2009, 01:42 PM   #8
ahi
Wizard
ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.ahi ought to be getting tired of karma fortunes by now.
 
Posts: 1,790
Karma: 507333
Join Date: May 2009
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Python 3 is significantly slower because of it representing all string internally as ucs 2 or 4

Most 3rd party modules haven't been ported/have bugs with python 3

Note that using __future__ you can write code that will run correctly on both 2.6+ and 3.0. For new projects that's what I would recommend
I have some Python code that works Extension Plane B CJK characters that aren't correctly handled by Python even as UTF-8... if Python 3 can recognize them and work with them cleanly, I shall be happy.

But I will check out __future__. Portability would still be nice. I'm guess though it is far from effortless.

Quote:
Originally Posted by kovidgoyal View Post
I have python 2.4, 2.5, 2.6 and 3.1 on my machine
Was it problematic to set them up?

- Ahi
ahi is offline   Reply With Quote