This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
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-22.09:44:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606038270.96.0.868047759607.issue36906@roundup.psfhosted.org>
In-reply-to
Content
> I don't think we need two algorithms here. I'm +1 to add str.dedent() which mirroring only inspect.cleandoc().

I withdraw this.  If we add str.dedent(), it must not be optimized for triple-quote literal.

Auto dedenting is very nice to have. It can be different from inspect.cleandoc().

We may able to cleandoc() automatically, even without `from __future__`. This can be different from str.dedent() or auto dedenting.

We already have a separate issue for docstring. And auto dedenting will needs PEP. How about focus on str.dedent() and change the issue title?
History
Date User Action Args
2020-11-22 09:44:30methanesetrecipients: + methane, rhettinger, terry.reedy, gregory.p.smith, steven.daprano, serhiy.storchaka, josh.r, mbussonn, pablogsal, remi.lapeyre, Marco Sulla, Miguel Amaral
2020-11-22 09:44:30methanesetmessageid: <1606038270.96.0.868047759607.issue36906@roundup.psfhosted.org>
2020-11-22 09:44:30methanelinkissue36906 messages
2020-11-22 09:44:30methanecreate