[Pythonmac-SIG] NSTableView and NSOutlineView backgrounds
Drew McCormack
drewmccormack at mac.com
Wed Oct 15 06:00:46 EDT 2003
>> Along these lines, has anyone ever 'hacked' the python interpreter to
>> do smalltalk like messaging, with segmented names? I've been tempted
>> to try it myself. You wouldn't think it would be that hard. Maybe
>> just an extra stage to convert segmented names to underscored ones,
>> the same way that PyObjC names methods. But I'm no python expert, so
>> I don't know what would be involved.
>
> 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...
>
> But getting Guido to incorporate this into the language is a different
> story:-)
Sure, I don't expect the whole python world to switch to smalltalk
method naming just because I like it ;-)
It would be fun to see though, if not practical.
drew
----------------------------------
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Stock Market strategy design platform for Mac OS X.
More information about the Pythonmac-SIG
mailing list