r/Python • • May 30 '19

Dear python2 user

Post image
1.9k Upvotes

275 comments sorted by

View all comments

277

u/billsil May 30 '19

I killed my libraries support for python 2 last Friday. It feels good to get rid of six, future, scans it, and pathlib2 and really start doing type annotations properly.

People are already trying to get me to change my mind. But my company uses Anaconda...use a virtual environment; Anaconda lets you have multiple versions of python. It’s coming like a train and all my dependencies have moved on. Time for me to as well.

-20

u/Ph0X May 30 '19 edited May 30 '19

Why not just wait and do it at the 2020 cutoff like Python itself?

Edit: I don't understand the down votes. 2020 just seems like a good cut off since the language is officially deprecated.

1

u/Dgc2002 May 31 '19

I assume downvotes are because it's likely bad advice.

Why wait until the official cut off to prepare your own project for the future? Giving yourself ample time to respond to unforeseen issues.

1

u/Ph0X May 31 '19

Well it sounded like the project already supported py3, so they were well prepared. Dropping py2 doesn't mean not being ready for py3.