All,
Thank you for the continued feedback. We made another round of updates to the PEP, including:
-
Added a new top-level
templatelibto houseTemplateandInterpolation. -
Added full support for both explicit and implicit concatenation.
template+template,template+str, andstr+templateare all supported. Concatenation always results in aTemplate. In the end, we decided the arguments in favor of allowing concatenation outweighed the potential disadvantages. We’ve updated the “rejected ideas” section of the PEP to describe this. -
Rewrote the “How to Teach” section.
-
Fixed several bugs and omissions that y’all caught (thank you).
See the documentation preview for the latest.
(I’ll also reply separately to specific comments above. Thanks again!)