Skip to content

Do not use the equality operators with None #89223

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 45060
Nosy @terryjreedy, @serhiy-storchaka
PRs
  • bpo-45060: Get rid of few uses of the equality operators with None #28087
  • [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). #28092
  • [3.9] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). #28093
  • 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-09-04.01:14:15.218>
    created_at = <Date 2021-08-31.11:47:38.558>
    labels = ['library', '3.9', '3.10', '3.11']
    title = 'Do not use the equality operators with None'
    updated_at = <Date 2021-09-04.01:14:15.218>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-09-04.01:14:15.218>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-04.01:14:15.218>
    closer = 'terry.reedy'
    components = ['Library (Lib)']
    creation = <Date 2021-08-31.11:47:38.558>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45060
    keywords = ['patch']
    message_count = 4.0
    messages = ['400715', '400734', '400815', '401028']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'serhiy.storchaka']
    pr_nums = ['28087', '28092', '28093']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45060'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions