python / python/cpython

Add precision argument to datetime.now

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

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

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

説明

BPO 32522
Nosy @tim-one, @warsaw, @abalkin, @vstinner, @pganssle

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 2018-01-09.15:46:50.654>
labels = ['3.7', '3.8', 'type-feature', 'library']
title = 'Add precision argument to datetime.now'
updated_at = <Date 2018-01-09.21:44:13.815>
user = 'https://github.com/pganssle'

bugs.python.org fields:

activity = <Date 2018-01-09.21:44:13.815>
actor = 'p-ganssle'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2018-01-09.15:46:50.654>
creator = 'p-ganssle'
dependencies = []
files = []
hgrepos = []
issue_num = 32522
keywords = []
message_count = 20.0
messages = ['309703', '309704', '309706', '309707', '309710', '309714', '309715', '309717', '309718', '309719', '309722', '309723', '309724', '309726', '309730', '309732', '309734', '309735', '309737', '309738']
nosy_count = 5.0
nosy_names = ['tim.peters', 'barry', 'belopolsky', 'vstinner', 'p-ganssle']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue32522'
versions = ['Python 3.7', 'Python 3.8']

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

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

はじめの一歩

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

調査の方向性

この issue は Python の標準ライブラリにある datetime.now エントリポイントを対象としていますが、実装ファイルやテストは指定していません。まず datetime.now を見つけ、リンク先の BPO issue の議論を確認して、意図された精度のセマンティクスを明らかにしてください。引数の動作と互換性に関する期待が明確に定義され、適切なテストでカバーされていれば完了です。

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

評価

技術スタック
python
領域
backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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