[Python-ideas] mixing tabs and spaces

Neal Becker ndbecker2 at gmail.com
Sun Apr 7 18:56:35 CEST 2013


I was noticing the complaint about mixing tabs and spaces on python.general 
list.  It occurs to me, that a simple solution would be to allow a comment at 
the top of the file to specify a tab-space equivalency.

something similar to the coding magic comment:
# -*- coding: <encoding name> -*-

Perhaps:

# -*- tab: 8 -*-




More information about the Python-ideas mailing list