dbcli / dbcli/litecli

False error when loading an extension module with .load

Open
#264 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.