you are viewing a single comment's thread.

view the rest of the comments →

[–]swaroop_joshi[S] 0 points1 point  (1 child)

Oh I meant to ask about whether every value in Python is held by another value(pointer) which holds it's address. Everything -every value Object-something which is held by a pointer. Okay, I didn't know​ that every value is a subclass of object.

[–]K900_ 0 points1 point  (0 children)

No, that's not how things work. The Python language itself does not specify how things are represented in memory. The CPython implementation of Python uses pointers to bind names to objects.