From: "Guido van Rossum" <guido@python.org> > > I love this suggestion. It's the sort of thing you can't do in C++ ;-) > > I suspect the arguments against will run to efficiency and complexity, > > since you need to compile the backquoted expressions (in some context). > > Actually, I had planned a secret feature that skips matching nested > {...} inside ${...}, so that you could write a magic dict whose keys > were eval()'ed in the caller's context. The %(...) parser does this > (skipping nested (...)) because someone wanted to do that. Ooh, magic and secrets! Maybe a little too magical for me to understand easily. Is the stuff between ${...} allowed to be any valid expression? harry-potter's-got-nothing-on-you-ly y'rs, dave
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