Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
Using "is" could be dependent on how the string is interned to refer to the same string during comparison for identity. Using == is more reliable and correct. ---------- nosy: +xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38362> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com