Ben North wrote: > Thanks for the comments so far on this. Count me as a +0 on the general idea, -1 on the specific proposed syntax (based on the 'syntax shall not look like grit on Tim's monitor' guideline, and the fact that nested parentheses make it hard to separate the dynamic attribute lookup from function calls in the same expression) I'd probably be +0 for a "x.{some_str}" brace based syntax, with the caveat that I think this would also prevent future use of the "x{whatever}" syntax. The 'probably' is based on the fact that I'd like to see some examples of standard library code converted to that syntax. And a -1 on the two argument version either way (we can keep getattr around for that). Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org
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