[Pythonmac-SIG] NSTableView and NSOutlineView backgrounds

Bob Ippolito bob at redivi.com
Wed Oct 15 09:40:25 EDT 2003


On Wednesday, Oct 15, 2003, at 09:21 America/New_York, Bob Ippolito 
wrote:

>
> On Wednesday, Oct 15, 2003, at 09:06 America/New_York, Jack Jansen 
> wrote:
>
>>
>> On Wednesday, October 15, 2003, at 12:35 PM, Ronald Oussoren wrote:
>>
>>>> I've been thinking about it. And the nice thing is that "[" cannot 
>>>> currently
>>>> occur as the start symbol for an expression, and I think a NAME 
>>>> after an
>>>> expression is also safe, so adding rules like
>>>> 	atom: '[' test methodarg* ']'
>>>> 	methodarg: NAME ':' test
>>>> should work...
>>>
>>> I'm probably very dense, but isn't '[' the start of a list literal 
>>> or list comprehension and therefore a valid start of an expression 
>>> or statement?.
>>
>> No, it is *me* who is dense. Jack: open mouth, insert foot:-)
>
> Surely it would be theoretically parsable with no class between list 
> literals or comprehensions.. you wouldn't have commas, or if you did, 
> they would be after a colon.. and you wouldn't have the keywords "for" 
> or "in".  It probably wouldn't fit very well into the Python parser 
> though.

no clash between list literals, I mean.

Also every message would be an invalid list or list comprehension 
because of the space between the receiver and the first component of 
the selector.

-bob




More information about the Pythonmac-SIG mailing list