Skip to content

sched.cancel() doesn't distinguish equal events and can break order #63469

Description

@serhiy-storchaka
BPO 19270
Nosy @rhettinger, @pitrou, @giampaolo, @serhiy-storchaka, @MojoVampire, @bharel, @akulakov
PRs
  • bpo-19270: Fixed sched.scheduler.cancel to cancel correct event #22729
  • Files
  • sched_test_stable.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 = <Date 2021-11-22.10:43:52.847>
    created_at = <Date 2013-10-16.08:47:32.204>
    labels = ['easy', 'type-bug', '3.10', 'docs']
    title = "sched.cancel() doesn't distinguish equal events and can break order"
    updated_at = <Date 2021-11-22.10:43:52.846>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-11-22.10:43:52.846>
    actor = 'iritkatriel'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2021-11-22.10:43:52.847>
    closer = 'iritkatriel'
    components = ['Documentation']
    creation = <Date 2013-10-16.08:47:32.204>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['32142']
    hgrepos = []
    issue_num = 19270
    keywords = ['patch', 'easy']
    message_count = 24.0
    messages = ['200040', '200048', '200698', '200708', '200711', '200714', '200715', '200717', '200719', '200788', '200798', '200799', '200828', '200830', '200831', '200832', '244346', '327404', '371895', '372139', '372142', '376985', '378930', '398628']
    nosy_count = 9.0
    nosy_names = ['rhettinger', 'pitrou', 'giampaolo.rodola', 'docs@python', 'serhiy.storchaka', 'josh.r', 'bar.harel', 'wocket', 'andrei.avk']
    pr_nums = ['22729']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue19270'
    versions = ['Python 3.10']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesdocsDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions