Skip to content

Fix equality checks for some types #81866

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 37685
Nosy @ambv, @serhiy-storchaka, @MojoVampire, @vedgar, @pganssle, @miss-islington, @aeros
PRs
  • bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. #14952
  • bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. #14996
  • [3.8] bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996) #15102
  • [3.7] bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996) #15104
  • bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. #15167
  • [3.8] bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) #17836
  • 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 2020-02-12.20:35:36.788>
    created_at = <Date 2019-07-25.21:07:46.625>
    labels = ['type-bug', 'library', '3.9']
    title = 'Fix equality checks for some types'
    updated_at = <Date 2020-02-12.20:35:36.786>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-02-12.20:35:36.786>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-02-12.20:35:36.788>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2019-07-25.21:07:46.625>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37685
    keywords = ['patch']
    message_count = 15.0
    messages = ['348452', '348514', '348516', '348517', '348518', '348522', '348552', '348977', '348978', '348982', '349218', '349219', '349220', '361876', '361912']
    nosy_count = 7.0
    nosy_names = ['lukasz.langa', 'serhiy.storchaka', 'josh.r', 'veky', 'p-ganssle', 'miss-islington', 'aeros']
    pr_nums = ['14952', '14996', '15102', '15104', '15167', '17836']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue37685'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions