Stop Decoding Values
还没有人认领这个 Issue。
评估
调研方向
issue 中没有指定文件、测试或入口点。跟踪 C 支持的解析器中的 Python 3 值转换路径,并确定保留 bytes 应该是默认行为还是一个选项;当所选行为已实现并针对受影响的值完成验证时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C
- 星标
- 345
- 派生
- 93
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
benoitc/http-parser 的其他 Issue
-
Python 3.12 installation fails可能已有人在做 @s-t-e-v-e-n-k 于 1039 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 38/100
benoitc/http-parser#99 · 1 条评论 · 6 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
benoitc/http-parser#98 · 1 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 50/100
benoitc/http-parser#96 ·
-
Build fails on python3.11可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 45/100
benoitc/http-parser#94 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 30/100
benoitc/http-parser#93 · 1 条评论 · 1 个 reaction ·
查看 benoitc/http-parser 的全部 Issue
相似的 Issue
-
`table_create()` crashes when an `hccalloc()` for the option table fails可能已有人在做 @marinelay 今天认领。 未关闭type: bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug severity: low
难度 2/5 1-3 小时 新手友好度 78/100
AlessandroSangiuliano/Uros#950 ·
-
ESP32
难度 1/5 1 小时以内 新手友好度 84/100
-
难度 1/5 1-3 小时 新手友好度 82/100
HandBrake/HandBrake#8266 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
saschb2b/Mega-Man-Battle-Network-Cyberworld-Endless#568 ·
维护者通常 1 天内回复