dbcli / dbcli/litecli

False error when loading an extension module with .load

未关闭
#264 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Python
星标
3.3k
派生
95
PR 合并指标
30 天内没有已合并 PR

描述

https://github.com/dbcli/litecli/pull/251 fixed an actual bug, not just a typecheck warning, where .load <some_path>/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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查 pull request #251 和项目当前的 release 元数据。确认扩展加载 fix 已存在于源代码中,然后确定项目的 tagging 和 packaging 步骤;当包含该 fix 的新标记版本可通过 pip 获取时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, sqlite
领域
cli, release
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。