For the last 11 years, the Python language have been in used and abused by the Mercurial command line tools. We are now looking back at the various trap we feel into and sharing tricks about how to get the best performance and flexibility out of Python.
Since 2005, Mercurial developers, take advantages of the Python language. This is long enough to explore many aspect of the language and be surprised multiple time. Some of the idea we tried were so great that latest version of the language have native support for them while some other were terrible terrible mistake that we are still trying to get away from.
This Talk will first go over some of our terrible mistakes and great success. Then we will focus on our work around performances. We'll go over various profiling techniques, various tricks to get the most CPython and finally our exploration of latest Pypy advantages and limitation for a command line tools.
Speakers: Pierre-Yves David