[issue15492] textwrap.wrap expand_tabs does not behave as expected

2012-08-05 Thread Chris Jerdonek
Chris Jerdonek added the comment: I didn't have a chance to respond before you closed this issue. I will add more information later if that is okay. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15492

[issue15492] textwrap.wrap expand_tabs does not behave as expected

2012-08-05 Thread R. David Murray
R. David Murray added the comment: Sure. If you convince me we can reopen the issue :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15492 ___

[issue15492] textwrap.wrap expand_tabs does not behave as expected

2012-08-04 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - invalid stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15492 ___

[issue15492] textwrap.wrap expand_tabs does not behave as expected

2012-08-03 Thread R. David Murray
R. David Murray added the comment: I think that expanding them before wrapping is correct. Any lining up would be true only for the original unwrapped input text. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org

[issue15492] textwrap.wrap expand_tabs does not behave as expected

2012-07-29 Thread Chris Jerdonek
New submission from Chris Jerdonek: While working on issue 1859, I noticed that textwrap.wrap()'s tab expansion does not seem to behave sensibly. In particular, the documentation says, If expand_tabs is true, then all tab characters in text will be expanded to zero or more spaces, *depending