python / python/cpython

[time] document that integer nanoseconds may be more precise than float

未关闭
#83,665 31 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

docs extension-modules type-feature
主要语言
Python
星标
77.2k
派生
36k
PR 合并指标
PR 指标待抓取

描述

BPO 39484
Nosy @malemburg, @rhettinger, @mdickinson, @vstinner, @larryhastings, @serhiy-storchaka, @eryksun, @vxgmichel
Files
  • Comparing_division_errors_over_10_us.png
  • comparing_errors.py
  • Comparing_conversions_over_5_us.png
  • comparing_conversions.py
  • 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 2020-01-29.13:02:45.749>
    labels = ['3.8', '3.9', '3.10', 'extension-modules', 'type-feature', 'docs']
    title = '[time] document that integer nanoseconds may be more precise than float'
    updated_at = <Date 2021-03-21.21:08:52.484>
    user = 'https://github.com/vxgmichel'
    

    bugs.python.org fields:

    activity = <Date 2021-03-21.21:08:52.484>
    actor = 'eryksun'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Extension Modules']
    creation = <Date 2020-01-29.13:02:45.749>
    creator = 'vxgmichel'
    dependencies = []
    files = ['48880', '48881', '48882', '48883']
    hgrepos = []
    issue_num = 39484
    keywords = []
    message_count = 31.0
    messages = ['360958', '360980', '361139', '361140', '361141', '361142', '361143', '361144', '361286', '361288', '361292', '361296', '361300', '361301', '361304', '361306', '361308', '361309', '361314', '361316', '361319', '361351', '361650', '361651', '361652', '361653', '361654', '361665', '361666', '361668', '361669']
    nosy_count = 10.0
    nosy_names = ['lemburg', 'rhettinger', 'mark.dickinson', 'vstinner', 'larry', 'stutzbach', 'docs@python', 'serhiy.storchaka', 'eryksun', 'vxgmichel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39484'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    贡献指南

    打开贡献指南

    从这里开始

    1. 先读完整个 Issue,再读项目的贡献指南。
    2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
    3. Fork 仓库,在一个分支上完成修改。
    4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

    调研方向

    先阅读附带的 comparing_errors.py 和 comparing_conversions.py 文件,然后查看关于整数纳秒和浮点精度的 issue 讨论。找到相关的 Python 时间文档并记录精度差异,同时根据示例和讨论检查结果。

    由索引模型根据 Issue 内容生成。

    评估

    技术栈
    python
    领域
    documentation
    Issue 类型
    文档
    难度
    3/5
    预计耗时
    1-2 天
    活跃度
    停滞
    描述清晰度
    需要澄清
    新手友好度
    35/100

    把新 issue 发到你的邮箱

    精选适合新手参与的 GitHub issue 摘要。