ALL of Python 3.13's MAJOR typing changes

ALL of Python 3.13's MAJOR typing changes

12.151 Lượt nghe
ALL of Python 3.13's MAJOR typing changes
Python 3.13 released this week, and there was so much to talk about, I didn't really have time to discuss its new typing features! This video rectifies that, by giving them some time to shine. 0:00 - Intro 0:38 - Default values for TypeVars [1-2] 3:08 - The @deprecated decorator [3] 5:21 - ReadOnly values for TypedDicts [4-5] 7:24 - Better type predicates with TypeIs [6-7] 9:55 - Outro [1] https://peps.python.org/pep-0696/ [2] https://docs.python.org/3/library/typing.html#typing.TypeVar [3] https://peps.python.org/pep-0702/ [4] https://peps.python.org/pep-0705/ [5] https://docs.python.org/3/library/typing.html#typing.TypedDict [6] https://peps.python.org/pep-0742/ [7] https://docs.python.org/3/library/typing.html#typing.TypeGuard — If you want to see more of me, join my Discord server! https://discord.gg/5vVgQpK I get a lot of people asking, so here's my setup! • Visual Studio Code: https://youtu.be/PBQspYkkksU • Terminal: https://youtu.be/4RuGK3w6Mbs • Desk/recording gear: https://kit.co/Carberra • PC build: https://uk.pcpartpicker.com/list/TmzGYN Affiliations (I may earn a commission): • Codecrafters -- 40% off any plan: https://app.codecrafters.io/join?via=parafoxia • Keeper Password Manager -- 30% off your first year: https://keeper.io/r/EX4FB1C — If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so. #python #coding #howto