Asyncio Evolved: Enhanced Exception Handling with Python 3.11 TaskGroups|Junya Fukuda|PyCon TW 2023

Опубликовано: 22 Ноябрь 2023
на канале: PyCon Taiwan
180
3

PyCon Taiwan 2023|Talk 演講|Day 1, R0 13:05–13:35

🪄 說明 Description 🪄
With the release of Python 3.11 in October 2022, PEP 654 "Exception Groups and except" was accepted, and asyncio.TaskGroup() was added. This enhancement of exception and cancellation handling has allowed asyncio to evolve more flexibly, addressing the existing issues with asyncio APIs, such as insufficient cancellation and exception handling in asyncio.gather.

In this talk, I would like to discuss the problems of existing asyncio APIs and how the newly introduced asyncio.TaskGroup() solves these issues. Attendees will learn about the improved way of handling exceptions and cancellations using asyncio.TaskGroup(), enabling them to write more efficient and robust asynchronous code with Python 3.11.



🚀 講者介紹 About Speaker - Junya Fukuda 🚀
Develops "LOVOT", a family-like robot that promotes the ability to love, at GROOVE X, Inc. He has spoken at PyCon JP, DjangoCongress JP, EuroPython, and other events. As a community activity, he participates in the management of GeekLab Nagano. Co-author of "Python Practical Recipes (2022 Gijutsu Hyoron Co., Ltd.)". Translation of "Expert Python Programming - Fourth Edition". Likes beer, camping, and asyncio.


Follow “PyCon Taiwan”
⭐️ Official Website: https://tw.pycon.org
⭐️ Facebook:   / pycontw  
⭐️ Instagram:   / pycontw  
⭐️ Twitter:   / pycontw  
⭐️ LinkedIn:   / pycontw  
⭐️ Blogger: https://conf.python.tw/


Смотрите видео Asyncio Evolved: Enhanced Exception Handling with Python 3.11 TaskGroups|Junya Fukuda|PyCon TW 2023 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь PyCon Taiwan 22 Ноябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 180 раз и оно понравилось 3 людям.