How is it deceptive? Are they bumping version numbers? Are they packaging new releases?Įdit: before I'm accused of not reading the article, I did, but I did not look at the actual OpenOffice download page. The point releases are all upward compatible with no issues. Python is actually much more lenient in this regard because a major language change has happened only once, 15 years ago, with Python 2 being deprecated for well over a decade. Or, God forbid, tried to run some modern Javascript code using old browser - or that old HTML with Flash and what not in a modern browser. Or tried to feed modern C# code to a compiler from 10 years ago. You would have exactly the same problems if you tried to compile old K&R C code or C++ code from 20 years ago using modern compilers. I don't doubt it has costed you a lot of time but this was a problem entirely of your own doing by not doing your homework. I've not encountered a similar issue with any other language before, so this appears to be uniquely a Python thing. >In any case, it was a serious problem that cost me a lot of time and really soured me on Python as an end user. print() function in Python 3 is a dead giveaway). the use of print statement in Python 2 vs. If some old code requires Python 2, any somewhat experienced Python developer will spot that right away (e.g. But then you better know what you are doing. There is no reason to try to compile/run old Python 2 code today - and if you still do need it for some reason, then you need to download the Python 2 version (which are still available, if you need them but one has to look for them). The changes from 2 to 3 happened *15 years ago*. Nobody is going to stop working on it only because it could break some old code somewhere. >The problem is that you can't have one Python interpreter that covers all versions of Python, and Python is very unforgiving about using the wrong interpreter version.īecause it doesn't make sense. If you have downloaded Python 2, you must have done it intentionally, it isn't even available from the website download anymore - and had not been for a long time. There is no Python 4 - and may not ever be.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |