[BangPypers] Moving from python 2.6 to 2.7

Gora Mohanty gora at mimirtech.com
Wed Oct 8 08:35:20 CEST 2014


On 7 October 2014 15:53, Kulkarni, Shreyas <shyran at gmail.com> wrote:
> Hi guys,
>
> We are planning to move our production environment from 2.6 to 2.7 on one of the projects. While I understand it's not a significant upgrade, this being a production environment, I was wondering what aspects of 2.6 might break under 2.7 and what I should be watching out for. I tried searching about it, but didn't hit anything useful.

You should take a look at https://docs.python.org/3/whatsnew/2.7.html , and as
always should have test cases that should uncover any issues in the migration.

One thing to watch out for is that if you have bytecode (.pyc) files,
it is quite
possible that they will be incompatible between 2.6 and 2.7.

Regards,
Gora


More information about the BangPypers mailing list