Talk - Pablo Galindo Salgado: Making Python better one error message at a time

preview_player
Показать описание
Python 3.10 has been recently released and among many exciting new features, one of the biggest improvements is the inclusion of a whole new set of changes focused on improving the error messages across the interpreter and the general user experience when dealing with error messages. The new error messages have been one of the most welcomed features from very different sets of users ranging from Python teachers and educators, first-time learners, industry professionals and data scientists.

In this talk, we will cover:

What are the new improvements featured in Python 3.10.
Exciting new changes and improvements that will feature in Python 3.11.
How these improvements are useful to different sets of users from people learning Python to experienced programmers.
How the new PEG parser has unlocked adding new custom syntax errors.
How these improvements were implemented and what challenges the CPython core team faced to get them working reliably.
How users can contribute to adding new error messages: what is the workflow, how the errors are reviewed by the core team and where to find resources and help.
No matter who you are and what you do with Python, there is an improvement that will probably make you smile.
Рекомендации по теме
Комментарии
Автор

Fanstastic presentation, thank you for this work.

Ashton
Автор

00:00 - Introduction
01:53 - Error messages before Python 3.10
05:06 - New errors with the new PEG parser
07:12 - New error messages in Python 3.10
09:23 - Adding error messages is hard
14:27 - Runtime suggestions
18:46 - Better tracebacks in Python 3.11
22:35 - How can YOU help
25:15 - Summary

havanagrawal