Войти в систему

Home
    - Создать дневник
    - Написать в дневник
       - Подробный режим

LJ.Rossia.org
    - Новости сайта
    - Общие настройки
    - Sitemap
    - Оплата
    - ljr-fif

Редактировать...
    - Настройки
    - Список друзей
    - Дневник
    - Картинки
    - Пароль
    - Вид дневника

Сообщества

Настроить S2

Помощь
    - Забыли пароль?
    - FAQ
    - Тех. поддержка



Пишет LWN.net ([info]syn_lwnheadline)
@ 2021-03-10 18:47:00


Previous Entry  Add to memories!  Tell a Friend!  Next Entry
[$] Python exception groups
Exceptions in
Python are a mechanism used to report errors (of an
exceptional variety); programs can be and are written to expect and handle
certain types of exceptions using try and except. But
exceptions were originally meant to report a single error event and, these
days, things are a tad more complicated than that. A recent Python
Enhancement Proposal (PEP) targets adding exception groups, as well as new
syntax to catch and handle the groups.


(Читать комментарии) (Добавить комментарий)