Skip to content

PriorityQueue.put() fails with TypeError if priority_number in tuples of (priority_number, data) are the same. #75328

@MikoajBabiak

Description

@MikoajBabiak
BPO 31145
Nosy @rhettinger, @ncoghlan, @bitdancer, @lisroach
PRs
  • bpo-31145: Use dataclasses to create a prioritization wrapper #5153
  • 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/rhettinger'
    closed_at = <Date 2018-01-12.06:07:15.262>
    created_at = <Date 2017-08-08.14:09:13.395>
    labels = ['3.7', 'type-feature', 'library']
    title = 'PriorityQueue.put() fails with TypeError if priority_number in tuples of (priority_number, data) are the same.'
    updated_at = <Date 2018-01-12.06:07:15.261>
    user = 'https://bugs.python.org/MikoajBabiak'

    bugs.python.org fields:

    activity = <Date 2018-01-12.06:07:15.261>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2018-01-12.06:07:15.262>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2017-08-08.14:09:13.395>
    creator = 'Miko\xc5\x82aj Babiak'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31145
    keywords = ['patch']
    message_count = 9.0
    messages = ['299922', '299929', '302870', '302902', '302905', '302911', '303093', '307646', '309839']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'ncoghlan', 'r.david.murray', 'lisroach', 'Miko\xc5\x82aj Babiak']
    pr_nums = ['5153']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31145'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions