Skip to content

code_richcompare() don't use constant type when comparing code constants #70030

@TijsVanOevelen

Description

@TijsVanOevelen
BPO 25843
Nosy @arigo, @rhettinger, @mdickinson, @ncoghlan, @vstinner, @larryhastings, @ezio-melotti, @bitdancer, @Bluehorn, @serhiy-storchaka, @Vgr255
Files
  • code_richcompare.patch
  • code_richcompare-2.patch
  • code_eq.py
  • code_richcompare-3.patch
  • code_richcompare-4.patch
  • code_richcompare-5.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 2016-01-22.15:54:05.277>
    created_at = <Date 2015-12-11.19:23:13.886>
    labels = ['type-bug']
    title = "code_richcompare() don't use constant type when comparing code constants"
    updated_at = <Date 2016-06-14.22:44:29.013>
    user = 'https://bugs.python.org/TijsVanOevelen'

    bugs.python.org fields:

    activity = <Date 2016-06-14.22:44:29.013>
    actor = 'larry'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-01-22.15:54:05.277>
    closer = 'vstinner'
    components = []
    creation = <Date 2015-12-11.19:23:13.886>
    creator = 'Tijs Van Oevelen'
    dependencies = []
    files = ['41307', '41308', '41309', '41671', '41676', '41682']
    hgrepos = []
    issue_num = 25843
    keywords = ['patch']
    message_count = 53.0
    messages = ['256229', '256230', '256233', '256234', '256235', '256245', '256250', '256251', '256252', '256274', '256285', '256290', '256317', '256318', '256320', '256321', '256323', '256327', '256330', '256332', '256381', '256382', '256383', '256386', '256390', '256398', '256399', '256400', '256401', '256402', '256403', '256404', '256405', '256406', '256409', '258532', '258683', '258707', '258724', '258725', '258753', '258756', '258795', '258796', '258814', '258815', '258817', '258818', '259016', '268555', '268556', '268557', '268588']
    nosy_count = 17.0
    nosy_names = ['arigo', 'rhettinger', 'mark.dickinson', 'ncoghlan', 'vstinner', 'larry', 'donmez', 'ezio.melotti', 'r.david.murray', 'torsten', 'fijall', 'python-dev', 'serhiy.storchaka', 'David MacIver', 'abarry', 'Kevin Shweh', 'Tijs Van Oevelen']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'patch review'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25843'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions