Torsten Mohr <[EMAIL PROTECTED]> wrote:
...
> I still wonder why a concept like "references" was not
> implemented in Python.  I think it is (even if small)
> an overhead to wrap an object in a list or a dictionary.

> Isn't it possible to extend Python in a way to use
> real references?  Or isn't that regarded as necessary?

Some think it's unwise.  The ability to modify local variables in your
caller's scope can lead to messiness, especially if the modifiability
isn't evident to the caller (eg. via C's "&").
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to