top | item 43753538

(no title)

mont_tag | 10 months ago

How does this Python docs example work with t-strings?

    cur.executemany("INSERT INTO movie VALUES(?, ?, ?)", data)
Can SQLite3 cache the query as it does now?

discuss

order

roywiggins|10 months ago

It seems to me that it would be straightforward to parse a Template's parameters back into ? placeholders?

mont_tag|10 months ago

No, it would fail upstream before the template post-processing even begin.

The template object itself could not be formed because the each name must be a visible variable name.

This is the same error that you would get with an f-string that contained an undefined variable name.