Try   HackMD

Asyncio Evolved: Enhanced Exception Handling with Python 3.11 TaskGroups - Junya Fukuda

歡迎來到 PyCon TW 2023 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

共筆入口:https://hackmd.io/@pycontw/2023
手機版請點選上方 按鈕展開議程列表。
Welcome to PyCon TW 2023 Collaborative Writing
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Collaborative Writing Workplace:https://hackmd.io/@pycontw/2023
Using mobile please tap to unfold the agenda.

Collaborative writing start from below
從這裡開始共筆

https://github.com/jrfk/talk/tree/main/PyConTW2023

Overview

  • aysncio Python's async library
  • Hanlding multiple tasks concurrenlty
  • Useful for I/O bound

Asynchronous process seems to have unpredicatable behavior
What happens when exeption occurs?

asyncio.TaskGroup (docs)

  • capture exceptions
  • cancelling task

Python 3.11 adding the except* syntax to be similar to previous style (PEP 654).

Below is the part that speaker updated the talk/tutorial after speech
講者於演講後有更新或勘誤投影片的部份