Steven D'Aprano wrote:
Trailing spaces and tabs, on the other hand, *are* invisible. But they're also insignificant, and so don't matter.

(Except for one little tiny corner case, which I shall leave as an exercise for the advanced reader.)

Drat, now I'm gonna be up at odd hours tonight dredging my brain for such corner cases. My catalog so far:

- triple-quoted multi-line strings

- "\" line-continuations don't work with trailing whitespace (though Vim's syntax highlighting flags them, changing their color if there's whitespace afterwards)

- files that read themselves (or perhaps depend on introspection/debugging modules to read themselves)

Any others that I missed?

-tkc




--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to