The Python 3.10 release has several new features like structural pattern matching, a new typing Union operator, and parenthesized context managers!
Python 3.10 has now been released, here we test all of the best new features introduced.
We'll cover some of the most interesting additions to Python - structural pattern matching, parenthesized context managers, more typing, and the new and improved error messages.
Download the latest release:
https://www.python.org/downloads/rele...
🤖 70% Discount on the NLP With Transformers in Python course:
https://bit.ly/3DFvvY5
📙 Medium article:
https://towardsdatascience.com/whats-...
🎉 Sign-up For New Articles Every Week on Medium!
/ membership
📖 If membership is too expensive - here's a free link:
https://towardsdatascience.com/whats-...
👾 Discord
/ discord
🕹️ Free AI-Powered Code Refactoring with Sourcery:
https://sourcery.ai/?utm_source=YouTu...
00:00 Intro
00:45 Type Annotations in Python
01:10 Typing Union Operator
02:07 Parenthesized Context Managers
05:07 Structural Pattern Matching
09:31 Better Error Messages