Fix instances of "is" operator used with literals
Original author: rlong
Python 3.8 introduced new warnings when using the "is" operator when comparing literals.
Original author: rlong
Python 3.8 introduced new warnings when using the "is" operator when comparing literals.