Tom Parker added the comment:
Ah OK :) I had done a W10 reset to wipe my PC before reinstalling VS so I
could't imagine where else the python registry keys could have come from.
My install sequence was:
SQL Server 2012 Developer
Visual Studio 2015 Community Edition
Office 365
Inkscape -
Tom Parker added the comment:
FYI, I ran into this same issue, I believe this was caused by my selecting
Python tools when installing Visual Studio 2015 Community edition. But I
removed it and the issued didn't go away.
Then I deleted some empty python registry keys and voila the inst
Tom Parker added the comment:
@Guido: Thanks for the suggestion, it fixes my immediate problem!
@Mark: Yup, that was exactly my issue. It took a while to figure out why
the heck it was ignoring my linebreaks, and then once I'd found
replace_whitespace it appeared to be doing the "wrong
Tom Parker added the comment:
Is there any other way to do what I was trying to do then (both dynamic
wrapping for long segments + some static breaks)? Right now, the only
option I can think of is writing a textwrap.TextWrapper subclass that
implements my patch, and copying 70-ish lines of code
Tom Parker added the comment:
If replace_whitespace in textwrap is set to False (True is default) then
there are newlines. Yes, if you haven't set this then the patch does
nothing (but that sounds sane to me)
The exact text was "RadioTest TOSSIM stress tester by Tom Parker
<[EM
Tom Parker added the comment:
Attaching a patch that corrects the issue (against python 2.4)
Added file: http://bugs.python.org/file9192/textwrap-fix.patch
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Tom Parker:
If a piece of text given to textwrap contains one or more "\n", textwrap
does not break at that point. I would have expected "\n" characters to
cause forced breaks.
--
components: Library (Lib)
messages: 60026
nosy: palfrey
severity
Tom Parker added the comment:
Also effects Python 2.5.1 (tested on Debian python2.5 package version
2.5.1-5)
--
nosy: +palfrey
versions: +Python 2.5
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/iss