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 Julian
Recipients Julian, georg.brandl, terry.reedy
Date 2017-06-25.15:25:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498404324.65.0.525714137023.issue30754@psf.upfronthosting.co.za>
In-reply-to
Content
⊙  python2 -c 'from textwrap import dedent; print repr(dedent(" " * 2 + "\n" + " " * 4 + "\n"))'
'\n\n'

instead of the presumed '\n  \n'

The same appears to be the case for py3.6.


(At first glance, this seems unrelated to http://bugs.python.org/issue19479 although that issue seems to have an unreviewed patch that changes the implementation, so it might also "accidentally" fix the issue).
History
Date User Action Args
2017-06-25 15:25:24Juliansetrecipients: + Julian, georg.brandl, terry.reedy
2017-06-25 15:25:24Juliansetmessageid: <1498404324.65.0.525714137023.issue30754@psf.upfronthosting.co.za>
2017-06-25 15:25:24Julianlinkissue30754 messages
2017-06-25 15:25:24Juliancreate