Talks: Making Python better one error message at a time

Presented by:


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.