Message342938
> While the string method works pretty well, I do not think this is the best way.
Regardless of what we do for literals, a dedent() method will help for
non-literals, so I think that this feature should go in even if we
intend to change the default behaviour in the future:
> 3.9. Implement "from __future__ import deindent".
> 3.11. Emit a FutureWarning for multiline literals that will be changed by dedending if "from __future__ import deindent" is not specified.
> 3.13. Make it the default behavior.
And that gives us plenty of time to decide whether or not making it the
default, rather than an explicit choice, is the right thing to do. |
|
Date |
User |
Action |
Args |
2019-05-20 18:11:23 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, gregory.p.smith, serhiy.storchaka, mbussonn, pablogsal, remi.lapeyre |
2019-05-20 18:11:23 | steven.daprano | link | issue36906 messages |
2019-05-20 18:11:23 | steven.daprano | create | |
|