We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Making Python better one error message at a time

Formal Metadata

Title
Making Python better one error message at a time
Title of Series
Number of Parts
112
Author
License
CC Attribution - NonCommercial - ShareAlike 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
[The Auditorium on 2022-07-13] 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.