Ben Wing wrote:
Hrvoje Niksic wrote:
> Ben Wing <ben(a)xemacs.org> writes:
>
>
>
>>> Python's [] is much more than array access: it's a syntactic
shorthand
>>> for __getitem__/__setitem__, and it's these generic concepts that we
>>> lack. If we do introduce them, they should work on all kinds of
>>> objects (e.g. hash tables and lists), and in that case we should
>>> choose names better than aref/aset, because those concepts are quite
>>> detached from traditional meanings of "array".
>>>
>>>
>>
>> is there any reason that aset/aref couldn't be extended semantically
>> to be the equivalent of python's [] (which, after all, was also
>> originally an "array reference" syntax)?
>>
>
>
>
>
btw Hrvoje could you *PLEASE* *PLEASE* not remove my name from the Cc:
list? afaik it is now considered very bad netiquette to do that;
removing duplicate mails on your end is trivial using procmail. you
should not be kludging around a bug and messing up people like me in
the process.
sorry if the tone of this is a bit strong. but please realize that it
is not considered proper netiquette to pre-remove duplicates, precisely
because it makes it impossible for people to properly make use of the
header fields for filtering. this sort of change is absolutely supposed
to happen on the receiving end, not the sending end.