benoitc / benoitc/http-parser

Stop Decoding Values

オープン
#49 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。