Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation
オープン
まだ誰も着手していません。
extension-modules
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 45821 |
|---|---|
| Nosy | @abalkin, @pganssle, @AlexWaygood |
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 2021-11-16.19:21:08.113>
labels = ['type-bug', '3.9', '3.10', '3.11', 'extension-modules', 'library']
title = 'Many method parameters in the datetime module are positional-only in the C implementation but positional-or-keyword in the Python implementation'
updated_at = <Date 2021-11-21.13:45:40.155>
user = 'https://github.com/AlexWaygood'
bugs.python.org fields:
activity = <Date 2021-11-21.13:45:40.155>
actor = 'AlexWaygood'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Library (Lib)']
creation = <Date 2021-11-16.19:21:08.113>
creator = 'AlexWaygood'
dependencies = []
files = []
hgrepos = []
issue_num = 45821
keywords = []
message_count = 3.0
messages = ['406423', '406592', '406715']
nosy_count = 3.0
nosy_names = ['belopolsky', 'p-ganssle', 'AlexWaygood']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45821'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
Linked PRs
- gh-136366
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされている PR gh-136366 と datetime モジュールの Python 実装および C 実装を確認してください。この issue では、どのメソッドパラメーターがキーワードを受け付けるかについての不一致が示されています。影響を受けるメソッドのシグネチャを比較し、関連する datetime テストを確認する前に、位置専用の動作が実装間で一貫していることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100