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.