[Python-ideas] template strings

Yury Selivanov yselivanov.ml at gmail.com
Tue Aug 18 02:51:08 CEST 2015


On 2015-08-17 8:45 PM, Andrew Barnert wrote:
[...]
>> We can also (probably) use symtable to lookup 'count'
>> >name and throw a SyntaxError if it's not defined.
> Wouldn't that mean you can only use locals as prefixes, which seems to defeat the purpose?
>
> More importantly, in the example, count_is_  defined, it's just defined as an int rather than a string-thingifying-thing.

Alright, using symtable wasn't a very good idea :)

Yury


More information about the Python-ideas mailing list