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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Per a GitHub comment on 7 January 2015 by Odoo's Chief Technical Officer, they are targeting Python 2.7 for all current development.
@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.
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?
@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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 11 23
|
2941 | ||
|
0
thg 4 23
|
3422 | ||
|
1
thg 3 23
|
2678 | ||
|
2
thg 2 23
|
4104 | ||
|
1
thg 1 23
|
17428 |