dbcli / dbcli/litecli

False error when loading an extension module with .load

Aperta
#264 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
3.3k
Fork
95
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://github.com/dbcli/litecli/pull/251 fixed an actual bug, not just a typecheck warning, where `.load /foo` would invoke `load_extension -> None` but the caller expected an iterable to be returned. The user then sees a cryptic error without a traceback:
```
> .load ./foo
'NoneType' object is not iterable
```
when in fact the module loaded without error.

The latest pip version of the project is from 6 months ago and predates this fix.
Could you please tag and release a new version?

Thank you.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Review pull request #251 and the project's current release metadata first. Confirm that the extension-loading fix is present in the source, then identify the project’s tagging and packaging steps; done means a new tagged version is available through pip with the fix included.

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

Valutazione

Stack tecnologico
python, sqlite
Ambito
cli, release
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.