On Wed, Mar 31, 2004 at 07:08:44PM -0500, Bob Ippolito wrote: > On Mar 31, 2004, at 6:43 PM, Neil Schemenauer wrote: > > def someObjectiveCSelector_itsReallyLong_(takes, some, args, here): > > pass > > objc.selector(_, signature='some type signature') > > > >That looks pretty nice and is even shorter to type than the proposed > >syntax. > > No, that is not correct.. it must rebind the name... it doesn't mutate > the function, it returns a selector descriptor. You can do that via sys._getframe(). Ugly but better, IMHO, than adding half-baked syntax to the language. Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4