-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
needs-feedbackAwaiting feedback, review, or direction from maintainers or communityAwaiting feedback, review, or direction from maintainers or communitystatus:explorationEarly-stage work: exploring approach, feasibility, or design.Early-stage work: exploring approach, feasibility, or design.type:enhancementImproves existing functionality without adding a fundamentally new capabilityImproves existing functionality without adding a fundamentally new capability
Description
Should we align by default?
When using dedent, I cannot think of any practical examples where someone would not want the align behavior. Maybe, it should be that we required the use of align=False or the noalign directive if for some reason somebody does not want the this behavior.
It would make the differentiation from textwrap.dedent a tad easier to explain and justify it's worth/improvement.
Before making a decision, I would probably want more feedback on this.
Once #4 is complete and older versions of Python are supported, it is not clear to me if this is even globally possible across versions. Regardless, I still think there is good motivation to have align enabled by default when a Template argument is given, over a str/LiteralString.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs-feedbackAwaiting feedback, review, or direction from maintainers or communityAwaiting feedback, review, or direction from maintainers or communitystatus:explorationEarly-stage work: exploring approach, feasibility, or design.Early-stage work: exploring approach, feasibility, or design.type:enhancementImproves existing functionality without adding a fundamentally new capabilityImproves existing functionality without adding a fundamentally new capability