TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #402 · 22 дек.

Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async

Hashtags

Резултати

Пронајдени 5 слични објави

Пребарај: #axionos

当前筛选 #axionos清除筛选
Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #695 · 25.11.2025 г., 08:09

AxionOS - Unofficial | Android 16 | Nothing Phone (2) 📝 Details: - Version: v2.2.1 - Device: #Pong - Released: 25/11/25 ⬇️ Downloads: Link 1 | Link 2 | Link 3 ⚙️ Installation: Here 📖 Changelogs: Here 📸 Screenshots: Here 🏷 Tags: #ROM#AOSP#UnOfficial#AxionOS ✍️Notes: - Gapps is included, do not flash again - Clean Flash Recommended - Use latest NOS 3 firmware - NTcamera, Dolby & SukiSU-Ultra support available 🏆Credits: - Ghost & Chandu for DT - Fabian & HELLBOY for Glyph - HELLBOY for Meteoric Kernel 👤 Maintainer: @pankaj96 💬 Chat: @NothingPhone2 🔔 Updates: @NothingPhone2Updates

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #730 · 14.04.2026 г., 06:42

AxionOS - Official | Android 16 | Nothing Phone (2) 📝 Details: - Version: v2.5 - Device: #Pong - Released: 14/04/26 ⬇️ Download: Gapps | Vanilla 🛟 Recovery: Here 📖 Changelogs: Here 🆘 Support: ROM | Device 💰 Donate: Here 🏷 Tags: #AOSP#ROM#AxionOS#Official#QPR2 ✍️Notes: - Firmware is included! (NOS 4.0) - Full Gapps is included for Gapps build - Dolby is included 🏆Credits: - Ghost and Chandu for DT - Fabian & Ghost & HELLBOY for Glyph 👤 Developer: @Superuser1958 💬 Chat: @NothingPhone2 🔔 Updates: @NothingPhone2Updates

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #689 · 13.11.2025 г., 11:11

AxionOS - Unofficial | Android 16 | Nothing Phone (2) 📝 Details: - Version: v2.2 - Device: #Pong - Type #Gapps - Released: 13/11/25 ⬇️ Downloads: Link 1 | Link 2 | Link 3 ⚙️ Installation: Here 📖 Changelogs: Here 📸 Screenshots: Here 🏷 Tags: #ROM#AOSP#UnOfficial#AxionOS ✍️Notes: - Gapps is included, do not flash again - Passes Basic Integrity by default - Use latest NOS 3 firmware - NTcamera, Dolby & KernelSU-Next support available 🏆Credits: - Ghost & Chandu for DT - Fabian & HELLBOY for Glyph - HELLBOY for Meteoric Kernel 👤 Maintainer: @pankaj96 💬 Chat: @NothingPhone2 🔔 Updates: @NothingPhone2Updates

Oneplus 13 Updates

@OnePlus13Series · Post #384 · 10.04.2026 г., 08:57

AxionOS - Unofficial | Android 16 | Oneplus 13 ✍️ Details: - Version: 16 - Codename: #dodge - Variant: #Gapps - Released: 10/04/26 🔽 Download : ROM 🔖 Tags: #AxionOS#Unofficial#Baklava#ROM#dodge ⚙️Flashing Instructions: - Using SuperHybrid Flasher (recommended) - It also can be flashed through Ofox recovery. ✍️Notes: - Core GApps Included, do not flash again - April Security Patch (QPR2) - Lineage Upstream - Upstreamed kernel - FW 16.0.5.701 ARB !!! - Don't report without proper logs! 🏆Credits: - Chandu_078 - bgcngm - jonassalo93 - danielspringer - jakobBokaj1 - Testers 👤 Maintaner: @einargednochsson 🔔 Updates: @OnePlus13Series 💬 Discussion: @OnePlus13SeriesChatRoom

Nothing Phone (2) | Updates

@NothingPhone2Updates · Post #706 · 13.01.2026 г., 12:39

AxionOS - UnOfficial | Android 16 QPR1| Nothing Phone (2) 📝 Details: - Version: v2.3 - Device: #Pong - Released: 13/01/26 ⬇️ Downloads: Link 1 | Link 2 ⚙️ Installation: Here 📖 Changelogs: Here 📸 Screenshots: Here 🏷 Tags: #ROM#AOSP#A16#QPR1#UnOfficial#AxionOS ✍️Notes: - Gapps is included, do not flash again - Clean Flash Recommended - Use latest NOS 4 firmware - NTcamera & Dolby support available - No KSU Support 🏆Credits: - Ghost & Chandu for DT - Fabian & HELLBOY for Glyph - HELLBOY for Meteoric Kernel - Adarsh219 & @Squidguy for Testing Rom 👤 Maintainer: @pankaj96 💬 Chat: @NothingPhone2 🔔 Updates: @NothingPhone2Updates