3 ms·
Were there any backwards incompatible changes in 2.7? I'm trying to remember if I even noticed when that version bump happened...
by JshWright 6y ago
Were there any backwards incompatible changes in 2.7? I'm trying to remember if I even noticed when that version bump happened...
- mkesper 6y agoYes, try to install it on a CentOS6 box as /usr/bin/python and suddenly no more yum etc. will work.
- toyg 6y agoRelease notes: http://hg.python.org/cpython/raw-file/v2.7/Misc/NEWS http://hg.python.org/cpython/raw-file/v2.7/Misc/NEWS TBH I think the main thing about that release, for me, was the introduction of context managers ("with"). I don't remember any particular breakage but I wasn't doing sysadmin at the time, maybe there is something in the bowels of redhat that relied on some broken behaviour...
- takeda 6y ago2.7 was essentially a bridge to Python 3. All features it has were backported from 3. This is why so many people before 2015 were saying that Python 3 doesn't provide any new features.
- mkl95 6y agoI actually rejected it because I thought it would be extremely boring after a few days, I did that for a couple of projects when I was writing desktop apps in Python 2.x and I found it very easy (2.7 to 3.x is not especially hard either in most cases). I never understood the point of hiring a full team for at least 6 months just for that. The only explanation I can find is that the project manager was clueless about Python.