Skip to content

Improve .__repr__ implementation for datetime.timedelta #74488

@musically-ut

Description

@musically-ut
BPO 30302
Nosy @tim-one, @abalkin, @vstinner, @bitdancer, @berkerpeksag, @vadmium, @serhiy-storchaka, @musically-ut
PRs
  • bpo-30302 Make timedelta.__repr__ more informative. #1493
  • bpo-30302: Update WhatsNew and documentation. #2929
  • Merge pull request #1 from python/master #2943
  • bpo-31545 Update documentation containing timedeltas repr. #3687
  • 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 = <Date 2017-10-27.11:28:20.761>
    created_at = <Date 2017-05-07.19:57:26.207>
    labels = ['3.7', 'type-feature', 'library']
    title = 'Improve .__repr__ implementation for datetime.timedelta'
    updated_at = <Date 2017-10-27.11:28:20.759>
    user = 'https://github.com/musically-ut'

    bugs.python.org fields:

    activity = <Date 2017-10-27.11:28:20.759>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-27.11:28:20.761>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2017-05-07.19:57:26.207>
    creator = 'musically_ut'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30302
    keywords = ['patch']
    message_count = 35.0
    messages = ['293212', '293213', '293215', '293216', '293219', '294062', '294106', '297029', '297048', '297049', '297050', '297269', '297293', '297424', '297429', '297438', '297440', '297441', '297444', '297447', '297457', '297471', '297521', '297531', '297560', '297561', '297570', '297865', '299148', '299149', '299152', '299381', '299384', '305111', '305113']
    nosy_count = 8.0
    nosy_names = ['tim.peters', 'belopolsky', 'vstinner', 'r.david.murray', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'musically_ut']
    pr_nums = ['1493', '2929', '2943', '3687']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue30302'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions