Python handles globals badly.

Random832 random832 at
Sat Sep 12 06:34:52 CEST 2015

Mark Lawrence <breamoreboy at> writes:
> I think pointer is even worse because of its connection with C and
> hence cPython.  What is wrong with object if that is the only thing
> Python knows about?

Because the object is the *thing the arrow points at*. You don't have
two objects when store the same object in two variables (names, list
slots, whatever), but you do have two pointers.

And they *are* pointers in cPython - so that "connection" is a feature,
not a bug.

More information about the Python-list mailing list