Author serhiy.storchaka
Recipients Marco Sulla, gregory.p.smith, josh.r, mbussonn, methane, pablogsal, remi.lapeyre, rhettinger, serhiy.storchaka, steven.daprano
Date 2019-11-07.16:19:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573143568.43.0.250935909342.issue36906@roundup.psfhosted.org>
In-reply-to
Content
The user expects what they read in the documentation of what they learn in other programming languages. If we update the documentation their expectation will change.

As for other programming languages, Bash has an option for stripping all leading tab characters from a here document, and in Julia triple-quoted strings are dedented (https://docs.julialang.org/en/v1/manual/strings/#Triple-Quoted-String-Literals-1). Since Julia is a competitor of Python in science applications, I think that significant fraction of Python users expected Python triple-quoted strings be dedented too, especially if they are dedented by help() and other tools.
History
Date User Action Args
2019-11-07 16:19:28serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, gregory.p.smith, steven.daprano, methane, josh.r, mbussonn, pablogsal, remi.lapeyre, Marco Sulla
2019-11-07 16:19:28serhiy.storchakasetmessageid: <1573143568.43.0.250935909342.issue36906@roundup.psfhosted.org>
2019-11-07 16:19:28serhiy.storchakalinkissue36906 messages
2019-11-07 16:19:28serhiy.storchakacreate