Skip to content

Bug found in datetime for Epoch time = -1 #45007

@blais

Description

@blais
mannequin
BPO 1726687
Nosy @loewis, @amauryfa, @abalkin, @vstinner
Files
  • timebug.py: reproduce the bug
  • timebug.c: chech mktime()'s behaviour
  • timebug.patch: the patch that pretends to fix this nasty buggerdibug bug!
  • mktime_fix_and_tests.patch
  • fix_mktime-2.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 = 'https://github.com/abalkin'
    closed_at = <Date 2011-02-16.18:57:10.410>
    created_at = <Date 2007-05-28.02:27:51.000>
    labels = ['extension-modules', 'type-bug']
    title = 'Bug found in datetime for Epoch time = -1'
    updated_at = <Date 2011-02-16.18:57:10.409>
    user = 'https://bugs.python.org/blais'

    bugs.python.org fields:

    activity = <Date 2011-02-16.18:57:10.409>
    actor = 'belopolsky'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2011-02-16.18:57:10.410>
    closer = 'belopolsky'
    components = ['Extension Modules']
    creation = <Date 2007-05-28.02:27:51.000>
    creator = 'blais'
    dependencies = []
    files = ['8011', '8012', '8013', '11982', '13378']
    hgrepos = []
    issue_num = 1726687
    keywords = ['patch', 'needs review']
    message_count = 20.0
    messages = ['52686', '52687', '52688', '52689', '52690', '52691', '75728', '75901', '75918', '80797', '80799', '83838', '83863', '83864', '99528', '99540', '108045', '108054', '125976', '128689']
    nosy_count = 5.0
    nosy_names = ['loewis', 'amaury.forgeotdarc', 'blais', 'belopolsky', 'vstinner']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1726687'
    versions = ['Python 3.1', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions