[Tutor] Python3 : Yes --- Python2 : No ?

Mike Barnett mike_barnett at hotmail.com
Sat Sep 21 16:57:26 EDT 2019


Your comment regarding COBOL and pointing out the lack of a "time bomb" in Python 2 really got me thinking.

I think for my package I need to go the final step and remove the 2.7 version from PyPI.  I hate to be so draconian in forcing users over, but it may be the only way.  Guess I would rather not have those users than have them running 2.7.

For the users that have reported what it took for them to "upgrade" when using my package, some posted saying it was a trivial 15 minute ordeal and they were done.

I think a portion of the 2.7 install base is there out of fear... the fear of change and "going backwards" in their development setup.  That's the sense I get from hearing from a few 2.7 users of my stuff.




-----Original Message-----
From: Tutor <tutor-bounces+mike=pysimplegui.org at python.org> On Behalf Of Mats Wichmann
Sent: Saturday, September 21, 2019 8:46 AM
To: tutor at python.org
Subject: Re: [Tutor] Python3 : Yes --- Python2 : No ?

On 9/20/19 10:50 AM, Albert-Jan Roskam wrote:
> 
> 
> On 15 Sep 2019 09:48, Alan Gauld via Tutor <tutor at python.org> wrote:
> 
> On 15/09/2019 07:17, Hendrickx Marcel via Tutor wrote:
>> Link with the info =>
>>
>> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww
>> .python.org%2Fdoc%2Fsunset-python-2%2F&data=02%7C01%7C%7Ca1d3d57e
>> 41694c50fefb08d73e91d057%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7
>> C637046668288947556&sdata=oBfbOS1IwumeV05fczolM7IBMp%2FrRrfwZQOY8
>> mzX%2BhI%3D&reserved=0
>>
>> News for me...
> 
> It really shouldn't be a surprise. As the link says its been announced 
> several times and was always the intent.
> 
> ==>> Some bankers pretend to be surprised:
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> techrepublic.com%2Fgoogle-amp%2Farticle%2Fjpmorgans-athena-has-35-mill
> ion-lines-of-python-code-and-wont-be-updated-to-python-3-in-time%2F&am
> p;data=02%7C01%7C%7Ca1d3d57e41694c50fefb08d73e91d057%7C84df9e7fe9f640a
> fb435aaaaaaaaaaaa%7C1%7C0%7C637046668288947556&sdata=EiB4l6t8DY5ue
> d5rdWltXITYrn8rkEHNVoYHYpvdxUU%3D&reserved=0

There are also millions - perhaps billions - of lines of COBOL still in use... so we should NOT pretend to be surprised they're surprised :)

Python 2 has no time bomb, it won't stop working.  The Python development community has decided not to split their efforts any longer, and lots of projects agree to go along, so it will become ever harder to get "the current version" of something if you're on Py2, as it will probably only be available for Py3.  But that doesn't cause a complete already working project just to fails...

As one who is helping maintain a 2+3 capable code base, it's a pain; in addition to always fighting little surprises, you leave a lot of productivity on the table by always having to fall back to the oldest stuff, or else try to backport (or find someone else who has backported).


_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.python.org%2Fmailman%2Flistinfo%2Ftutor&data=02%7C01%7C%7Ca1d3d57e41694c50fefb08d73e91d057%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637046668288947556&sdata=Fm%2BuV%2BEFOqvRrDJZoWejbPV0UZQREF7x0F6FofNNjIw%3D&reserved=0


More information about the Tutor mailing list