Sveriges mest populära poddar

The Real Python Podcast

Exploring the New Features of Python 3.10

54 min • 8 oktober 2021

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.

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:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

Kategorier
Förekommer på
00:00 -00:00