[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Perhaps final comment here. The email package was authored by Barry Warsaw. That's the way he prefers to break his code into sections. Definitely neither parasitic nor accidental. Skip -- nosy: +skip.montanaro

[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: ^L is used for a printer to insert a new blank page. But who really print a source code on a printer? Or does some editor have a special usage of this *control sequence*? It looks like ^L is used in Lib/smtpd.py as a hack for some editors s

[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: ok so it seems there are around 150 occurences, so I guess it is OK in this particular code base :D ___ Python tracker <[EMAIL PROTECTED]> ___

[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: so basically, if I open email.py, it is perfectly OK to have is opened in two pages in an editor ? How weird ! PEP 8 also says that we should be consistent throughout a code base. If this was the case everywhere in sdtlib, I'd say ok, but im

[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: PEP 8 does not call them parasites: http://www.python.org/dev/peps/pep-0008/ """ Python accepts the control-L (i.e. ^L) form feed character as whitespace; Many tools treat these characters as page separators, so you may use them to sepa

[issue4240] parasite form feed character in email.mime.text

2008-10-30 Thread Tarek Ziadé
New submission from Tarek Ziadé <[EMAIL PROTECTED]>: Hi, There's a parasite form feed character in email/mime/text.py (as well in python 2.4 and 2.5) I caught that under vim (^L), it is located line 12 in the file, the line before the class definition starts -- components: Library (L