İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
6415 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

@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.

En İyi Yanıt

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
Vazgeç
Üretici

@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.

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 23
2479
0
Nis 23
3043
1
Mar 23
2396
2
Şub 23
3815
1
Oca 23
16571