Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

review and fix deprecated typing aliases

Aperta
#363 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
68/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

The two examples are ast.py (line 14) and base.py (line 25), and the issue asks for a sweep of the whole codebase. Start by grepping for from typing import to find every deprecated alias such as List, Tuple, Iterator and Sequence. Replace them with built-in generics or collections.abc imports, and leave Optional and Union alone unless the maintainers decide otherwise. Done means no deprecated typing imports remain in the touched files and the existing test suite still passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Codebase uses deprecated typing imports.

Ex. 1: ast.py L14: from typing import List, Optional, Union, Tuple
List and Tuple could be replaced with built-ins, and arguably Union could be replaced with | and Optional could be reveiwed.

Ex. 2: base.py L25: from typing import Iterator, Optional, Sequence, TypeVar
Iterator and Sequence should be imported from collections.abc.

Lingua principale
Python
Stelle
29
Fork
33
Merge medio
2g 4h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di qBraid/pyqasm

Tutte le issue di qBraid/pyqasm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.