this article takes awhile to get to the point, but the point is correct which is: > In other words, this is how it should be, that you write your code once, and you can use any supported language version to run it/compile it, or develop in. But for some reason, this obvious solution has been discouraged by Guido and other Python documents, as seen above. I just looked up the latest official Python docs, and that one…
> I'll start with the conclusion: making backwards incompatible version of a language is a terrible idea, and it was bad a mistake. > So let me fix that: I do recommend a single code base as the solution. > The original advice to think very separately about your 2.x and 3.x codebases was very wrong, has wasted a ton of time (since you end up porting to python 3 twice), and overall slowed down the adoption of py3k, a…
How to support both Python 2 and 3
21–23 of 23 posts
Re: How to support both Python 2 and 3
#22Earlier quoted context omitted.
> I'll start with the conclusion: making backwards incompatible version of a language is a terrible idea, and it was bad a mistake. > So let me fix that: I do recommend a single code base as the solution. > The original advice to think very separately about your 2.x and 3.x codebases was very wrong, has wasted a ton of time (since you end up porting to python 3 twice), and overall slowed down the adoption of py3k, a…
Well zed seems to agree https://twitter.com/zedshaw/status/364118939233554432 > they've been keeping this "dual mode" option mostly a secret so as to not have to admit they fucked up
Re: How to support both Python 2 and 3
#23I really love Python, it is my language of choice, bread and butter, and I've been using it since 2005. However, this backwards compatibility break is probably the worst thing that happened to the language, as I think it's creating more project stalling and work in total than is worth any improvements specifically stemming from backwards incompatible changes. It could be because python3 still has not become my target…