Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6404 Vistas

I'm interested to know whether Odoo will be transitioning towards python 3.0+ in Odoo 9.0/Master or whether the plan is to stick with python 2.7+ in the foreseable future. I will be beginning to learn Python in earnest soon and i'm wondering whether I should learn 2.7 or 3+ as there seems to be some significant differences between the two. major versions.

I'd also be interested to know why so many established projects like Odoo, Django, etc. choose Python 2.7+ over 3.0+. Is this due to the number of python projects that are Odoo/Django dependencies that have not yet been updated to the 3+ branch, or is there some other reason?

Avatar
Descartar
Mejor respuesta

Per a GitHub comment on 7 January 2015 by Odoo's Chief Technical Officer, they are targeting Python 2.7 for all current development.

Avatar
Descartar
Autor

@Stephen, Thanks! Given this info I've just started a course targeting python 2.7. Here's a link in case you're interested: https://www.edx.org/course/introduction-computer-science-mitx-6-00-1x-0 you can take a 'verified' track and get a certificate afterwards for a small fee, or audit the course entirely for free. It seems like most of the python world is still sticking to the 2.7 version as most of the useful new features of 3.0+ have been backported to 2.7, and most libraries are still in 2.7 for the foreseeable future.

Mejor respuesta

I am not part of the development team for Odoo, so I cannot speak for them but I think 2.X will be here for the near future. 3.0 Has some very different syntax and not all the libraries that are used with Odoo have been ported to 3.0 variants yet, so it would be quite a job to port.

Perhaps anyone from Odoo can shed some light on the matter?

Avatar
Descartar
Autor

@Ludo, Thanks for the explanation. This is what I suspected. It would be very interesting to know what the official roadmap is for Python 3+ implementation with Odoo, as I understand there are some interesting new features implemented in the newer major version.

Publicaciones relacionadas Respuestas Vistas Actividad
0
nov 23
2468
0
abr 23
3039
1
mar 23
2392
2
feb 23
3811
1
ene 23
16550