evaluation question

Mark Bourne nntp.mbourne at spamgourmet.com
Thu Feb 2 16:15:34 EST 2023


Muttley at dastardlyhq.com wrote:
> On Wed, 1 Feb 2023 18:28:04 +0100
> "Peter J. Holzer" <hjp-python at hjp.at> wrote:
>> --b2nljkb3mdefsdhx
>> Content-Type: text/plain; charset=us-ascii
>> Content-Disposition: inline
>> Content-Transfer-Encoding: quoted-printable
>>
>> On 2023-02-01 09:00:39 -0000, Muttley at dastardlyhq.com wrote:
>>> Its not evolution, its revolution. Evolution retains old functionality.
>>
>> Tell a penguin that it can fly :-)
> 
> Yeah ok :) But the ancestors of penguins didn't wake up one morning, flap
> their wings and fall out the tree, it happened gradually. Python2 syntax
> could have been retained for X versions of 3 just as C++ keeps old stuff
> until its eventually deprecated them removed.

Python 2 *was* retained for X versions of Python 3.  From a quick check, 
Python 3.0 was released in December 2008 and Python 2 support ended in 
January 2020 - by which time Python 3 was up to 3.8 as ChrisA mentioned. 
  That's about an 11 year transition period, which is hardly sudden! 
Python 3 *was* the point at which the features deprecated in Python 2 
were removed.

The problem is, a lot seemed to ignore Python 3 for the first 12 years 
and then suddenly panic because Python 2 support had ended.

-- 
Mark.


More information about the Python-list mailing list