python / python/cpython

allow string as sep in _Py_strhex_impl ( bytearray.hex() )

オープン
#91,208 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

3.11 interpreter-core type-feature
主要言語
Python
スター
77.2k
フォーク
36k
平均マージ
1日 9時間
マージ済み PR(30日)
558

説明

BPO 47052
Nosy @gpshead, @sweeneyde, @arne123

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2022-03-17.21:03:45.219>
labels = ['interpreter-core', 'type-feature', '3.11']
title = 'allow string as sep in _Py_strhex_impl ( bytearray.hex() )'
updated_at = <Date 2022-03-17.21:45:08.249>
user = 'https://github.com/arne123'

bugs.python.org fields:

activity = <Date 2022-03-17.21:45:08.249>
actor = 'Dennis Sweeney'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2022-03-17.21:03:45.219>
creator = 'arne123'
dependencies = []
files = []
hgrepos = []
issue_num = 47052
keywords = []
message_count = 4.0
messages = ['415447', '415450', '415451', '415452']
nosy_count = 3.0
nosy_names = ['gregory.p.smith', 'Dennis Sweeney', 'arne123']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue47052'
versions = ['Python 3.11']

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず _Py_strhex_impl と bytearray.hex() の実装を見つけ、separator 引数が現在どのように処理されているかを調べます。要求どおり文字列の separator を許可し、既存の動作を維持できれば完了です。payload にはテストファイルが記載されていないため、何かを変更する前に、関連する bytearray または hex のテストを見つけてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
compilers
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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