Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

[9.0/Master] Will Odoo be able to support Python 3.0+ in Master/9.0?

By
Luke Branch
on 12/15/14, 1:32 AM 1,754 views

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?

1

Stephen Mack

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 1/7/15, 6:19 PM

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.

Luke Branch
on 1/7/15, 6:26 PM
1

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 12/15/14, 3:26 AM

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.

Luke Branch
on 12/15/14, 10:03 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 12/15/14, 1:32 AM
Seen: 1754 times
Last updated: 3/16/15, 8:10 AM