A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics. Join us every Friday morning to hear what's new in the world of Python programming and become a more effective Pythonista.

Exploring the New Features of Python 3.10

October 08, 2021 0:54:27 39.45 MB Downloads: 0

Python 3.10 is here! This week on the show, two former guests and Real Python authors return to talk about the new version. Geir Arne Hjelle’s article was posted to the site Monday, and it’s titled “Python 3.10: Cool New Features for You to Try”. Christopher Trudeau’s video course came out on Tuesday, and it covers the topics from the article with multiple visual examples of Python 3.10 code.

Geir Arne and Christopher worked together to create code examples of the new features used in both. We talk about more user-friendly error messages, structural pattern matching, enhancements to Python’s type system, and much more.

Geir Arne and Christopher not only cover the new features but they offer advice about ways you might incorporate them into your code. We also discuss what you should think about before running the new version for your projects.

Course Spotlight: Cool New Features in Python 3.10

In this course, you’ll explore some of the coolest and most useful features in Python 3.10. You’ll appreciate more user-friendly error messages, learn about how you can handle complicated data structures with structural pattern matching, and explore new enhancements to Python’s type system.

Topics:

  • 00:00:00 – Introduction
  • 00:02:20 – Better Error Messages
  • 00:07:14 – Structural Pattern Matching
  • 00:14:14 – Sponsor: Snyk
  • 00:14:55 – Type Unions, Aliases, and Guards
  • 00:22:34 – Future Annotations
  • 00:26:46 – Stricter Zipping of Sequences
  • 00:28:30 – New Functions in the statistics Module
  • 00:31:46 – Video Course Spotlight
  • 00:32:50 – Asynchronous Iteration
  • 00:38:59 – Default Text Encodings
  • 00:41:33 – Context Manager Syntax
  • 00:43:19 – Modern and Secure SSL
  • 00:45:10 – Should you upgrade now?
  • 00:49:59 – How to Detect Python 3.10 at Runtime
  • 00:53:07 – Thanks and goodbye

Show Links:

Support the podcast & join our community of Pythonistas