[Python-Dev] PyCharm debugger became 40x faster on Python 3.6 thanks to PEP 523

Brett Cannon brett at python.org
Sat Mar 25 15:37:52 EDT 2017


On Sat, 25 Mar 2017 at 03:05 Victor Stinner <victor.stinner at gmail.com>
wrote:

>
> https://blog.jetbrains.com/pycharm/2017/03/inside-the-debugger-interview-with-elizaveta-shashkova/
>
> "What changed in Python 3.6 to allow this?
>
> The new frame evaluation API was introduced to CPython in PEP 523 and it
> allows to specify a per-interpreter function pointer to handle the
> evaluation of frames."
>
> Nice!
>

I just wanted to publicly thank Microsoft for paying for that PEP. :) It
came out of the Pyjion work that Dino and I got to spend work time on.

The hook is also used by the Python workload in Visual Studio 2017 Preview,
so even if no JITs ever use the hook at least debuggers are finding it
useful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170325/22029af2/attachment.html>


More information about the Python-Dev mailing list