Skip to content

time.localtime(float("NaN")) does not raise a ValueError on all platforms #70856

@gpshead

Description

@gpshead
BPO 26669
Nosy @gpshead, @mdickinson, @abalkin, @vstinner, @Mariatta, @isidentical
PRs
  • bpo-26669: Fix nan arg value error in pytime.c #3085
  • [3.6] bpo-26669: Fix nan arg value error in pytime.c (GH-3085) #3467
  • bpo-26669: Reject float infinity in time functions #11507
  • bpo-26669: Reject float infinity in time functions #11507
  • bpo-26669: Reject float infinity in time functions #11507
  • bpo-26669: Reject float infinity in time functions #11507
  • 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 = 'https://github.com/abalkin'
    closed_at = <Date 2019-10-29.11:12:36.394>
    created_at = <Date 2016-03-30.07:17:23.433>
    labels = ['extension-modules', 'interpreter-core', 'type-bug']
    title = 'time.localtime(float("NaN")) does not raise a ValueError on all platforms'
    updated_at = <Date 2019-10-29.11:12:36.392>
    user = 'https://github.com/gpshead'

    bugs.python.org fields:

    activity = <Date 2019-10-29.11:12:36.392>
    actor = 'vstinner'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2019-10-29.11:12:36.394>
    closer = 'vstinner'
    components = ['Extension Modules', 'Interpreter Core']
    creation = <Date 2016-03-30.07:17:23.433>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26669
    keywords = ['patch']
    message_count = 10.0
    messages = ['262653', '300237', '301041', '301754', '301755', '301760', '301761', '333403', '355640', '355644']
    nosy_count = 6.0
    nosy_names = ['gregory.p.smith', 'mark.dickinson', 'belopolsky', 'vstinner', 'Mariatta', 'BTaskaya']
    pr_nums = ['3085', '3467', '11507', '11507', '11507', '11507']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26669'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions