On 15/01/11 17:42 +0100, Cédric Krier wrote: > On 15/01/11 17:07 +0100, Nicolas Évrard wrote: > > * Cédric Krier [2011-01-15 11:10 +0100]: > > >On 15/01/11 09:55 +0100, Nicolas Évrard wrote: > > >> * Phillip Heller [2011-01-14 00:20 +0100]: > > >> > > >> >Raising an exception when invoked by Python 3 is certainly > > >> >reasonable, though. > > >> > > >> I second that. But on the other side since psycopg, lxml and genshi > > >> has been ported to python 3 (the genshi patches are waiting for their > > >> inclusion on trunk though) I don't see major hurdles to port tryton > > >> on python 3 but I might be wrong. > > > > > >I think it is still a little bit too early. > > >We should wait that every major distributions got Python 3 and > > >modules before switching. > > >Because I think we can not manage to maintain 2 version of Tryton, so > > >it will be a one shot switch and we must be sure it will go without > > >issue. > > > > I am not sure about that. > > > > If people want to run tryton under python 3 (either because they > > compile all the necessary modules by themselves or because their > > distribution has done this work for them) we should not prevent them > > to do so (provided the amount of work is manageable of course). > > > > Just a message "Yes tryton can run under python 3" seems enough for > > me, after that it is the job of the distribution to make a choice > > which version (or both if possible) to distribute. > > But you can not have the same code running for Python 2 and Python 3 if I'm > right. > We don't force anybody to run on a specific Python version (except that we are > compatible with Python > 2.5).
Here is a post from Guido van Rossum about how to migrate from 2 to 3:
http://www.artima.com/weblogs/viewpost.jsp?thread=208549
So the first step is to go for Python 2.6, which means that we must fix this
issue [1].
After that we must fix Tryton to run without Py3k warnings.
And when we will got a 2t03 working convertion, we could release separate
packages for 2 and 3.
[1] http://bugs.tryton.org/roundup/issue1350
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/
pgpDTWcoPFVcN.pgp
Description: PGP signature
