Skip to content

Assertion failure in timedelta() in case of bad __divmod__ #75933

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 31752
Nosy @Yhg1s, @terryjreedy, @abalkin, @serhiy-storchaka, @orenmn, @mlouielu, @miss-islington
PRs
  • bpo-31752: Fix possible crash in timedelta constructor called with custom integers. #3947
  • [3.6] bpo-31752: Fix possible crash in timedelta constructor called with custom integers. (GH-3947) #4086
  • [2.7] bpo-31752: Fix possible crash in timedelta constructor called w… #4088
  • bpo-35021: Fix assertion failures in _datetimemodule.c. #9958
  • bpo-35021: Fixes assertion failures in _datetimemodule.c #10039
  • bpo-35021: Fixes assertion failures in _datetimemodule.c #10040
  • [3.7] bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039) #10614
  • [3.6] bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039) #10615
  • [2.7] bpo-35021: Fix assertion failures in _datetimemodule.c. (GH-10039) #10617
  • 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-23.16:57:20.973>
    created_at = <Date 2017-10-10.21:29:28.746>
    labels = ['extension-modules', '3.7', 'type-crash']
    title = 'Assertion failure in timedelta() in case of bad __divmod__'
    updated_at = <Date 2018-11-20.19:56:41.169>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2018-11-20.19:56:41.169>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-23.16:57:20.973>
    closer = 'serhiy.storchaka'
    components = ['Extension Modules']
    creation = <Date 2017-10-10.21:29:28.746>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31752
    keywords = ['patch']
    message_count = 12.0
    messages = ['304083', '304131', '304351', '304751', '304808', '304810', '304822', '327990', '330143', '330146', '330148', '330151']
    nosy_count = 7.0
    nosy_names = ['twouters', 'terry.reedy', 'belopolsky', 'serhiy.storchaka', 'Oren Milman', 'louielu', 'miss-islington']
    pr_nums = ['3947', '4086', '4088', '9958', '10039', '10040', '10614', '10615', '10617']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue31752'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions