Skip to content

Purge bytes == str and bytes != str type checks #12249

@gudnimg

Description

@gudnimg

I found a few instances where Twisted is running bytes != str and bytes == str if statements. These are no longer useful now that Python 2.7 support is gone and always result in True and False respectively. There aren't too many checks like this, so I'm going to propose to remove them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions