Paul Rudin <paul.nos...@rudin.co.uk>: > Marko Rauhamaa <ma...@pacujo.net> writes: >> What is different is that in Python, every expression evaluates to a >> pointer. Thus, you can only assign pointers to variables. > > I don't think that's really right - every expression evaluates to an > object.
The object is only an intermediate result; what is returned is a pointer (to an object), without an exception. That's not a matter of implementation. It's an essential part of Python's data model. (However, since "pointer" is evokes passions among crowds, it is better to use the neutral word "leash".) Marko -- https://mail.python.org/mailman/listinfo/python-list