Tabs and spaces (style)
Cantanker
az at cantanker.net.nospam
Tue May 1 10:52:40 EDT 2001
What is the consensus about mixing tabs and spaces in a Python script?
Don't people find it plain annoying to come across a bunch of scripts
where the author has obviously used a tabsize of 8 characters, and
alternated expanded tabs (4-spaces) and real tab characters (not wanting
to name names here *cough*Mailman*cough*). It makes for a real PITA when
you set your editor to display tab characters with a width of 2, or 4
spaces, and the code doesn't line up properly.
It imposes one author's choice of tabsize onto everyone else.
Thoughts?
--
Cantanker /
---------/-------------
/ cantanker.net
More information about the Python-list
mailing list