I personally prefer 2 spaces, and I assume that the original authors of these modules feel the same way.
Put it to a vote? http://wiki.apache.org/thrift/PythonIndent Alexander Shigin wrote: > Thrift modules uses 2 space indent, but python has a PEP 8 > (http://www.python.org/dev/peps/pep-0008/). > > PEP 008 says: "Use 4 spaces per indentation level." > > I think it's great idea to convert indentation of python lib and > generated code to 4 space. It syncs thrift with other python modules. > > If nobody objects I create patch for it. >