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 -*-