Author steven.daprano
Recipients Marco Sulla, Miguel Amaral, gregory.p.smith, josh.r, mbussonn, methane, pablogsal, remi.lapeyre, rhettinger, serhiy.storchaka, steven.daprano, terry.reedy
Date 2020-11-21.11:08:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605956895.96.0.0974430687599.issue36906@roundup.psfhosted.org>
In-reply-to
Content
A string prefix would be a large language change that would need to go through Python-Ideas, a PEP and Steering Council approval. Let's not go there :-)

A new string method is a comparatively small new feature that probably won't need a PEP or Steering Council approval.

A compile-time optimization is an implementation feature, not a language feature. Whether devs want to follow up with more string optimizations like 'spam'.upper() is entirely up to them.

Backwards compatibility implies that textwrap.dedent is not going away any time soon, but it should probably become a thin wrapper around str.dedent at some point.
History
Date User Action Args
2020-11-21 11:08:16steven.dapranosetrecipients: + steven.daprano, rhettinger, terry.reedy, gregory.p.smith, methane, serhiy.storchaka, josh.r, mbussonn, pablogsal, remi.lapeyre, Marco Sulla, Miguel Amaral
2020-11-21 11:08:15steven.dapranosetmessageid: <1605956895.96.0.0974430687599.issue36906@roundup.psfhosted.org>
2020-11-21 11:08:15steven.dapranolinkissue36906 messages
2020-11-21 11:08:15steven.dapranocreate