Allow using decimals as arguments to `timedelta`

Offen
#58,470 22 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend

Rechercherichtung

Start by reviewing the attached timedelta_decimal.patch and the Library (Lib) implementation it targets, then read the linked issue discussion for the intended Decimal behavior. Done means Decimal values are accepted as timedelta arguments with behavior matching the agreed requirements and the relevant library tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib type-feature
BPO 14262
Nosy @rhettinger, @facundobatista, @mdickinson, @abalkin, @vstinner, @cool-RR
Files
  • timedelta_decimal.patch
  • 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 2012-03-12.13:13:07.505>
    labels = ['type-feature', 'library']
    title = 'Allow using decimals as arguments to `timedelta`'
    updated_at = <Date 2014-10-14.15:00:08.731>
    user = 'https://github.com/cool-RR'
    

    bugs.python.org fields:

    activity = <Date 2014-10-14.15:00:08.731>
    actor = 'skrah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-03-12.13:13:07.505>
    creator = 'cool-RR'
    dependencies = []
    files = ['24820']
    hgrepos = []
    issue_num = 14262
    keywords = ['patch']
    message_count = 22.0
    messages = ['155449', '155583', '155587', '155602', '155609', '155627', '156371', '156393', '156396', '156398', '170746', '170748', '170749', '170750', '170751', '170753', '170754', '170758', '170769', '170771', '170773', '170776']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'facundobatista', 'mark.dickinson', 'belopolsky', 'vstinner', 'cool-RR', 'Alexander.Belopolsky']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue14262'
    versions = ['Python 3.4']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.