Skip to content

datetime.timedelta is inconvenient to use... #50038

@brianquinlan

Description

@brianquinlan
BPO 5788
Nosy @birkenfeld, @brianquinlan, @mdickinson, @pitrou, @giampaolo
Files
  • totalseconds.diff: Adds a datetime.total_seconds attribute
  • totalseconds2.diff: implement total_seconds as a method
  • 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 2009-11-25.23:04:49.969>
    created_at = <Date 2009-04-18.18:37:39.661>
    labels = ['type-feature', 'library']
    title = 'datetime.timedelta is inconvenient to use...'
    updated_at = <Date 2011-10-21.20:34:13.603>
    user = 'https://github.com/brianquinlan'

    bugs.python.org fields:

    activity = <Date 2011-10-21.20:34:13.603>
    actor = 'bquinlan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-11-25.23:04:49.969>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2009-04-18.18:37:39.661>
    creator = 'bquinlan'
    dependencies = []
    files = ['13719', '13721']
    hgrepos = []
    issue_num = 5788
    keywords = ['patch']
    message_count = 16.0
    messages = ['86132', '86133', '86135', '86136', '86138', '86147', '86148', '86167', '87768', '95726', '95732', '95733', '95740', '145928', '146115', '146131']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'bquinlan', 'mark.dickinson', 'pitrou', 'giampaolo.rodola', 'mw44118']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5788'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions