dbcli / dbcli/litecli

False error when loading an extension module with .load

Abierto
#264 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
3.3k
Forks
95
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python, sqlite
Área
cli, release
Tipo de issue
Nueva funcionalidad
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.