[issue1923] meaningful whitespace can be lost in rfc822_escape

2009-12-06 Thread Tarek Ziadé
Tarek Ziadé added the comment: I will treat the empty line problem in another issue because I won't apply it in 2.6/3.1. This one is fixed in r76684, r76685, r76686, r76687. Thanks ! -- status: open -> closed versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5 _

[issue1923] meaningful whitespace can be lost in rfc822_escape

2009-12-04 Thread Tarek Ziadé
Tarek Ziadé added the comment: Notice that we are also losing something else that can mean a lot in reST : empty lines. They also need to be escaped. But we can't do it properly unless we encode empty lines with something else than a 8 space line because when rfc822.Message reads it, it removes

[issue1923] meaningful whitespace can be lost in rfc822_escape

2009-12-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> tarek nosy: +tarek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-09-03 Thread Simon Cross
Simon Cross <[EMAIL PROTECTED]> added the comment: Poking the issue. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-08-28 Thread Simon Cross
Simon Cross <[EMAIL PROTECTED]> added the comment: I've just checked that the patch still applies cleanly to 2.6 and it does and the tests still passes. It looks like the patch has already been applied to 3.0 but without the test. The test part of the part applies cleanly to 3.0 too. --

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-01-28 Thread Stephen Emslie
Stephen Emslie added the comment: Here's that keeps the whitespace in tact, along with a simple test. This doesn't patch docs as the existing documentation_ already describes the long string as multiple lines of "plain text in reStructuredText format", which is what this fixes. .. _documentation

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-01-24 Thread Christian Heimes
Christian Heimes added the comment: Can you provide a patch with doc updates and an unit test? -- keywords: +easy nosy: +tiran priority: -> low __ Tracker <[EMAIL PROTECTED]> __ _

[issue1923] meaningful whitespace can be lost in rfc822_escape

2008-01-24 Thread Stephen Emslie
New submission from Stephen Emslie: distutils.util.rfc822_escape strips each line of its whitespace before indenting, but this can mean losing meaningful whitespace, such as in reStructuredText. distutils uses rfc822_escape to escape fields in metadata, such as PKG-INFO. This unfortunately mean