Iuliia Volkova
1 min readOct 17, 2019

--

Because, examples in article done in REPL, and author did not pay attention that memory management different in REPL and in process of normal execution python scripts. If you wrote

a = 257

b = 257

print(a is b)

and run this .py with python you will see — True as result.

--

--

No responses yet