Python 3.8 has introduced a warning when the is operator is used inappropriately (see this for a thorough explanation)
The gist of the problem is that the use of the is operator for string comparison accidentally works on CPython (the standard python interpreter) however such behavior is not guaranteed with other python implementations or future versions of CPython
This PR replaces the is operator with == where applicable.
Python 3.8 has introduced a warning when the
is
operator is used inappropriately (see this for a thorough explanation)The gist of the problem is that the use of the
is
operator for string comparison accidentally works on CPython (the standard python interpreter) however such behavior is not guaranteed with other python implementations or future versions of CPython This PR replaces theis
operator with==
where applicable.