AFLplusplus / AFLplusplus/unicornafl

Syntax error on Python 3.8 and 3.9

Aperta
#53 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
92
Fork
40
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

pyproject.toml says the project supports python 3.8 and up. However, `__init__.py` uses the union type expression syntax `Optional[str | bytes]` which was only added in Python 3.10.

Either the version requirement should be raised, or the syntax should be reverted to the old version, i.e. `Optional[Union[str, bytes]]`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.