Why does Python do this?

Gre7g Luterman gre7g-d-1059769811.c49085 at wolfhome.com
Sun Jul 27 16:24:13 EDT 2003


On 27 Jul 2003 00:22:04 +0100, jjl at pobox.com (John J. Lee) wrote:

> 2.2.1 only does this from the interactive prompt, not from a .py.

No, it does do it from .py files as well, although perhaps only under
special circumstances.  Otherwise I would never have noticed it.  I
found it because a .py CGI program was adding a space into my HTML
headers, which breaks them.  It was easy enough to work around, but I
had to ask if anyone knew more.

Gre7g.





More information about the Python-list mailing list