Overview
Explore the significant improvements in Python's error messages and user experience introduced in versions 3.10 and 3.11 through this 46-minute conference talk from EuroPython 2022. Discover how the new PEG parser enables custom syntax errors, learn about the challenges faced by the CPython core team in implementing these enhancements, and understand how different user groups benefit from the improved error messages. Gain insights into contributing to Python's error message development, including the workflow and review process. Whether you're a beginner, educator, or experienced programmer, find out how these updates can enhance your Python experience and potentially make you smile.
Syllabus
Introduction
Syntax errors
Other syntax errors
EOF
New improvements
Common errors
Human vs machine
Page grammar
Error messages are hard
Runtime suggestions
The problem
Better Trace 311
How can you help
Summary
Questions
Regression testing
Exception messages
Pythons evolving syntax
Taught by
EuroPython Conference