Indented multi-line strings

Peter Pearson pkpearson at nowhere.invalid
Fri Jun 1 17:00:13 EDT 2018


On Fri, 1 Jun 2018 15:57:58 +0100, Paul Moore <p.f.moore at gmail.com> wrote:
> On 1 June 2018 at 15:36, Dan Strohl via Python-list
><python-list at python.org> wrote:
>> So... how does one go about suggesting changes to the built in types?
[snip]
>
> Why does this need to be a string method? Why can't it be a standalone
> function?

Yes, please, let's content ourselves with a standalone function.

Adding features to a language imposes costs in several ways, including
hindering newcomers and making code version-dependent.  To full-time
Python developers, these costs appear small, because they are amortized
over a lot of Python activity; but they are encumbrances to the spread
and casual use of the language.  It seems as if the destiny of every
language is to be adorned by its enthusiasts with so many arcane and
specialized optimizations -- every one an obvious improvement -- that
the world's interest drifts to something newer and cleaner.



More information about the Python-list mailing list