[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-25 Thread Mark Dickinson
Changes by Mark Dickinson <[EMAIL PROTECTED]>: -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-25 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Fixed for Python 2.6 in r62500. Thanks for the report! __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho

[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-20 Thread Giuseppe Scelsi
Giuseppe Scelsi <[EMAIL PROTECTED]> added the comment: Mark, I am not familiar with the process and at this particular time I am quite busy. I am happy to do it if it not urgent, but that might mean after I come back from overseas in June. Otherwise please go ahead with the changes, for someon

[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-20 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: I can reproduce the problem, and agree with the analysis. Giuseppe, do you have time to produce a patch that fixes this problem and adds appropriate tests to test_textwrap.py? -- keywords: +easy nosy: +marketdickinson priority: -> n

[issue2635] textwrap: bug in 'fix_sentence_endings' option

2008-04-14 Thread Giuseppe Scelsi
New submission from Giuseppe Scelsi <[EMAIL PROTECTED]>: >>> textwrap.fill('File stdio.h is nice.', ... fix_sentence_endings=True) 'File stdio.h is nice.' ^-- wrong double space! The problem is with the compiled regexp 'sentence_end_re' in 'textwrap.py'. A possible fix would