is there a whitespace-free python convention?
Fredrik Lundh
fredrik at pythonware.com
Sat Feb 8 09:55:41 EST 2003
eichin at metacarta.com wrote:
> I stumbled across this problem with posting code snippets to a
> sourceforge discussion -- basically, there's no whitespace
> preservation, though newlines are preserved [or it wouldn't even be
> worth trying], so even simple code gets mangled.
>
> Arguably, the fix is for sourceforge to support some mechansim for not
> losing whitespace (perhaps html tags, but <pre> clearly didn't work.)
> However, a related case came to mind -- a friend of mine does all of
> his coding with emacspeak, and while he can switch it to 'explicit
> whitespace' mode, it is kind of painful.
>
> So, working from both sides, is there a convention that people
> actually like for expressing indentation when it isn't really there?
time for a proto-PEP?
</F>
More information about the Python-list
mailing list