python / python/cpython

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

Open
#83,665 31 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs extension-modules type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

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']
    

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    Research direction

    Start by reading the attached comparing_errors.py and comparing_conversions.py files, then review the issue discussion about integer nanoseconds and float precision. Locate the relevant Python time documentation and document the precision difference, with the result checked against the examples and discussion.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    documentation
    Issue type
    Documentation
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Needs clarification
    Newbie friendliness
    35/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.