I'm wrong or Will we fix the ducks limp?
random832 at fastmail.com
Mon Jun 6 00:08:08 EDT 2016
On Sun, Jun 5, 2016, at 23:52, Steven D'Aprano wrote:
> Certainly not. x = y = 999 is required to bind the same object to x and
My statement was that if two variables can be bound to the same object,
then variables *cannot* contain objects. The object has to exist
somewhere, and this requirement means that the variables cannot be where
the objects live.
> If your variable x were a reference, then we would expect type(x) to
> something like "Reference", but it doesn't, it returns int.
No we would not. You are once again inferring meaning that people's
statements don't actually carry.
More information about the Python-list