4 ms·
There is hardly any reason these days to use 2.7 over 3.x for any greenfield project. You would have to be really really sure a non ported package was absolute
by lifeisstillgood 12y ago
There is hardly any reason these days to use 2.7 over 3.x for any greenfield project. You would have to be really really sure a non ported package was absolutely vital.
That said there is a considerable number of commercial companies who are on 2.x and staying there for the foreseeable (as in "yes we really should move but ...)
I divide these into three camps
- the distribution has 2.x. Some people are still on Ubuntu 12.04 or 10.04 and not planning a move because there is not enough sysadmin resources.
- 2to3 lite: we could move but we have not bothered yet, but 2to3 will auto correct everything anyway.
- we genuinely have too much built on old libraries and old infrastructure that the move to 3 is actually slightly scary
The first one is lack of technical leadership, the second is similar but actually solvable and the third is rare (but I can name a couple of mega corps with that problem)
My suggestion - start on 3.4, building your project on top of it, focus on good Unicode practises anyway and if you find a library that must must must be used and is 2.x only - set it up as a micro service and use it that way :-)