Python past, present, and future with Guido van Rossum [audio]
I&#x27;ve made a living of Python since 2.4 and hitting the 3.6, here is my take on it:<p>The Python team does an incredible job at making the language evolve. This is a 20+ years old language, with billions of lines written in the world, and allowing a huge number of paradigms. It still matures, steals ideas, makes hard compromise on growth vs compat, etc. I know very few other techs that can even compare to this level of legacy&#x2F;flexibility.<p>E.G: the current debate on the mailling list about the &quot;delayed&quot; keyword: <a href="https:&#x2F;&#x2F;mail.python.org&#x2F;pipermail&#x2F;python-ideas&#x2F;2017-February&#x2F;044682.html" rel="nofollow">https:&#x2F;&#x2F;mail.python.org&#x2F;pipermail&#x2F;python-ideas&#x2F;2017-February...</a><p>(Python-idea is a fantastic mailling list BTW. You learn a lot about programming, community management, Python and humans. It&#x27;s very approachable, yet you read some very talented people. Sign up ! <a href="https:&#x2F;&#x2F;mail.python.org&#x2F;mailman&#x2F;listinfo&#x2F;python-ideas" rel="nofollow">https:&#x2F;&#x2F;mail.python.org&#x2F;mailman&#x2F;listinfo&#x2F;python-ideas</a>)<p>Coding in 2.x is now a pain. You can&#x27;t see that if you are stuck in 2.7. 3.X doesn&#x27;t seems appealing because what it brings on the table is not shinny. But the hundreds of small fixes hugely add up, and the experience is not the same at all on any project that takes more than a few days.<p>The good things is, Python 3 won. Nobody starts a new project in 2.x, most important 3rd party libs are have been converted and legacy code is ported every day. Porting a big code base is not really hard (2to3, python-future and python-six do most of the work) and can take only a few hours if you know what you are doing. Which is nothing given Guido have us 15 years to do it.<p>Honestly I had more time porting from Django 1.5 to 1.9 and DRF 1 to 2.<p>Python 3.6 is a wonderful release and a bliss to use. pathlib, f-string, better error handling, absolute imports, diminished verbosity, transparent unicode support, stable asyncio, unpacking everywhere, improved windows support, wheels for so many things, subprocess pools, pip+venv included (although debians admin excluded them, grrrr)... Everytime you go back to an earlier version it feels clunky.<p>The problem is, there are very few tutorials showing you the current best practices. I still read plenty of .format(), os.path.join(), manual subprocess&#x2F;threads handling, etc.<p>People are still complaining you can&#x27;t provide a standalone Python program while nuikta have been compiling very well Python for years now. It&#x27;s even yum&#x2F;apt installable.<p>Whether you are in Python 2 or 3 though, the ecosystem makes it all.<p>I&#x27;m amazed at where I find Python these days. It&#x27;s the official language for colleges in France, it&#x27;s installed on Linux and Mac by default, on the raspi (en consequently a recommended language for all students in the UK). It&#x27;s at Google, Facebook, Instagram, Apple, Disney&#x2F;Pixar, Sony, the CNES, the NASA, Mozilla, Docker...<p>But also in very heterogeneous places. Blender uses it to script, but most GIS as well. I got clients from everywhere using it: mathematicians, physicists, geographers, sysadmin, bankers, big data analysts, deep learning researchers... In big and small ways.<p>Plus there are so many great 3rd party tools: requests, django, sqlalchemy, numpy, pendulum, begins, jupyter, httpie, faker, marshmallow, autobahn, crossbar, pew are fantastic.<p>But how do you discover those ? The ecosystem is so huge, even curated lists such as <a href="https:&#x2F;&#x2F;github.com&#x2F;vinta&#x2F;awesome-python" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vinta&#x2F;awesome-python</a> are intimidating.<p>On strengh of Python is that it&#x27;s good a little script upt to big projects. but there is an enormous list of things to learn if you want to get out of the scripter mind set and start coding a big project.<p>- virtualenv. Wait virtualenvwrapper ? Wait pew ? wait pip ? wait conda ?<p>- tox, coverall, pytest, flake8, pylint, bandit...<p>- Python path, modules, __stuff__...<p>And the packaging is still a mess. It&#x27;s hard to make a setup.py file for a newcommer. And the 1000 files next to it. It&#x27;s hard to make a compiled extension wheel. To provide a msi, a deb or a dmg.<p>It&#x27;s hard to do desktop or mobile UI. Kivy and PyQT are nowhere as easy as creating a website, which says it all.<p>Mypy and type hints are not mature enough. Really a pain to use. I would not recommend it right now. Also VSCode and PyCharm makes everything better. I&#x27;m a sublime text guy, but the competition rocked it on this one.<p>Asyncio is super low level. Most people should probably just not use it, it&#x27;s designed to dev high level libs, not to code your service yourself. And most high level libs using it are not mature. The revolution hasn&#x27;t happened yet, and we need it to happen in the next 2 years. MeteorsJS is here and kicking. JS has the Webpack ecosystem  (which sucks, but provide features you don&#x27;t have in pure Python right now). You see more and more stack with Sass + es 6 + jsx + whatever and the Python tools to do it don&#x27;t cut it. So you are back to JS. I hate JS.<p>Hosting a Python website is still too complicated. pythonanywhere.com comes close, but beginners want PHP + FTP kind of deployments, and you can&#x27;t blame them. Not everybody needs the robustness of our pro stacks.<p>Performances, though, has never been an issue for me. I know some people that have indeed the need for it, but my experience is that they are a rare breed. Most people complaining about it want a pony, they don&#x27;t have a Python performance problem.<p>Nevertheless, I look forward for the gilectomy just to stop hearing the FUD. But I&#x27;m not holding my breath.<p>I have more hopes for Pyjion, the Microsoft JIT, though. Their approach is the sanest I&#x27;ve seen. Pypy is nice, but is having a hard time by design. Pyston is dead.<p>Free perf is like free pizza. You don&#x27;t need it, but hey, free pizza!<p>Also I have a feeling that rust and Python will be very good friends in the future...