python / python/cpython

Improve documentation about converting datetime.timedelta to scalars

Open
#80,319 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs pending stdlib
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 36138
Nosy @freddrake, @ncoghlan, @abalkin, @pganssle, @miss-islington, @0xYasser
PRs
  • python/cpython#12137
  • python/cpython#12362
  • 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 2019-02-27.14:54:37.765>
    labels = ['3.8', '3.7', 'library', 'docs']
    title = 'Improve documentation about converting datetime.timedelta to scalars'
    updated_at = <Date 2019-03-16.05:34:12.160>
    user = 'https://github.com/pganssle'
    

    bugs.python.org fields:

    activity = <Date 2019-03-16.05:34:12.160>
    actor = 'ncoghlan'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2019-02-27.14:54:37.765>
    creator = 'p-ganssle'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36138
    keywords = ['patch']
    message_count = 5.0
    messages = ['336765', '336980', '338052', '338053', '338054']
    nosy_count = 7.0
    nosy_names = ['fdrake', 'ncoghlan', 'belopolsky', 'docs@python', 'p-ganssle', 'miss-islington', 'Yasser Alshalaan']
    pr_nums = ['12137', '12362']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36138'
    versions = ['Python 3.7', 'Python 3.8']
    

    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 reviewing the issue context and the referenced pull requests #12137 and #12362, then locate the datetime.timedelta documentation they address. Confirm what guidance is missing about converting timedeltas to scalar values; done means the documentation clearly explains that conversion and the relevant documentation checks pass.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    documentation
    Issue type
    Documentation
    Difficulty
    2/5
    Estimated time
    1-3 hours
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.