Stop Decoding Values
未关闭
improvement
to investigate
- 主要语言
- C
- 星标
- 345
- 派生
- 94
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently http-parser converts certain values to `str` on Python3 instead of leaving them as bytes. This allows treating things which are pure ASCII as strings, however in order to do anything more complex than that is requires an encoding dance to go back to bytes by encoding with latin1 again, and then potentially decoding them again with a different encoding. It would be nice if http-parser at least allowed disabling the decoding if not just stopped doing it altogether.
贡献指南
这个仓库没有索引到贡献指南
调研方向
issue 中没有指定文件、测试或入口点。跟踪 C 支持的解析器中的 Python 3 值转换路径,并确定保留 bytes 应该是默认行为还是一个选项;当所选行为已实现并针对受影响的值完成验证时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, python
- 领域
- api, backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100