The Python Oracle

Is there any difference between "foo is None" and "foo == None"?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping

--

Chapters
00:00 Question
00:37 Accepted answer (Score 267)
01:01 Answer 2 (Score 50)
01:27 Answer 3 (Score 27)
02:04 Answer 4 (Score 13)
02:20 Thank you

--

Full question
https://stackoverflow.com/questions/2659...

Answer 1 links:
[object identity and equivalence]: http://mail.python.org/pipermail/python-...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47