[Python-Dev] Computed Goto dispatch for Python 2

Victor Stinner victor.stinner at gmail.com
Fri May 29 02:58:55 CEST 2015

2015-05-28 18:07 GMT+02:00 Guido van Rossum <guido at python.org>:
> This patch could save companies like Dropbox a lot of money. We run a ton of
> Python code in large datacenters, and while we are slow in moving to Python
> 3, we're good at updating to the latest 2.7.

I'm not sure that backporting optimizations would motivate companies
like Dropbox to drop Python 2. It's already hard to convince someone
to migrate to Python 3.

Why not continue to enhance Python 3 instead of wasting our time with
Python 2? We have limited resources in term of developers to maintain

(I'm not talking about fixing *bugs* in Python 2 which is fine with me.)


By the way, I just wrote sixer, a new tool to generate patches to port
OpenStack to Python 3 :-)

It's based on regex, so it's less reliable than 2to3, 2to6 or
modernize, but it's just enough for my specific use case. On
OpenStack, it's not possible to send one giant patch "hello, this is
python 3". Code is modified by small and incremental changes.

Come on in the Python 3 world and... always look on the bright side of
life ( https://www.youtube.com/watch?v=VOAtCOsNuVM )!


More information about the Python-Dev mailing list