Transition from `CompositeError` to builtin `ExceptionGroup`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- distributed-systems
Direzione di ricerca
Inizia esaminando l’implementazione di CompositeError di ipyparallel e la transizione collegata di Python Trio descritta nell’issue, insieme a PEP 654 e al backport exceptiongroup. Il lavoro è completo quando ipyparallel utilizza un comportamento interoperabile di ExceptionGroup integrato, preservando al contempo la gestione esistente degli errori multipli.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
PEP-654 adds a new builtin ExceptionGroup type to Python, and except* syntax for cleanly handling multiple errors. The backport is already widely used, including by Pytest, Trio, Hypothesis, and many others. I'd love to see ipyparallel join in, so that all our users get interoperable tooling and - once they're on recent versions of Python - nice syntax too.
Logistically, this is a substantial lift, but following e.g. https://github.com/python-trio/trio/pull/2213 will hopefully be a lot easier than doing the whole thing from scratch. You might even choose to wait a while for the ecosystem to mature, but I thought it was worth opening an issue now - if nothing else, it's relevant to any other proposed changes to CompositeError - and I'm confident that switching over will be the best way forward within the next few years.
- Lingua principale
- Jupyter Notebook
- Stelle
- 2.6k
- Fork
- 1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ipython/ipyparallel
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ipython/ipyparallel#1029 · 9 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
ipython/ipyparallel#984 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ipython/ipyparallel#937 · 4 commenti ·
-
Packages and definitions loaded in the regular kernel are not known by engines and vice versa Apertaquestion
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ipython/ipyparallel#897 · 12 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ipython/ipyparallel#882 ·
Tutte le issue di ipython/ipyparallel
Issue simili
-
bug examples invalid iris
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
ai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ydb-platform/ydb#53838 · 3 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NovaSky-AI/SkyRL#2263 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
johanhaleby/occurrent#1106 ·
-
ShuffleManagerRegistry.register recursion guard is inverted, permits GlutenShuffleManager subclasses Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100