Names and bindings (was Re: Scope of instantiated class)
aahz at pythoncraft.com
Sun Sep 8 10:40:20 EDT 2002
[silent snippage ahead]
In article <lkhehvktr6.fsf at pc150.maths.bris.ac.uk>,
Michael Hudson <mwh at python.net> wrote:
>aahz at pythoncraft.com (Aahz) writes:
>> In article <lku1mpl69n.fsf at pc150.maths.bris.ac.uk>,
>> Michael Hudson <mwh at python.net> wrote:
>>>Common Lisp calls them "places", which is a reasonable name. It's not
>>>that much of an issue in Python as there aren't that many of them
>>>(names, attributes, subscripts, slices). In CL, you can define your
>>>own (tho' it's a bit tricky).
>> What exactly does "place" refer to in Common Lisp? Is a place capable
>> of holding a value, or can places only contain references?
> place n. 1. a form which is suitable for use as a generalized
> reference. 2. the conceptual location referred to by such a
> generalized reference n. a reference to a location storing an object
> as if to a variable. (Such a reference can be either to read or
> write the location.) See Section 5.1 (Generalized
> Reference). See also place.
>So I guess more of the latter of your two options.
Do Common Lisp places have automatic reference/dereference semantics
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list