The python scripts of deadline use a “tab as tab” approach, not the usual python standard of “4-spaces as tab”. I know this might be a bit of a major change, but any chance of changing that to a python standard?
The reason being that we have a couple of patches we usually apply to the mayabatch & nuke plugins, and every new release we have to go line by line due to the non standard tabulation.
I think you need a better reason than that object… I would probably be lobbying for this change as well (and I fully support it), but I’m already pretty deep into writing a set of new plugins that hook into our rendering pipeline.
It’s easier to go from tabs to spaces than spaces to tabs. Also I hate it when I have 3 spaces instead of 4, it looks like it’s indented but it’s not. Also tab is the “indentation” symbol. Also C++ and C# are tab’ed I believe. Less keystrokes.
Sounds like you need a better editor/IDE… Any good one will be able to interpret a Tab keypress as “promote/demote by N spaces.”
Tabs are terrible because there is no standardization. Any program can interpret a tab in whatever way it wants, and may not even convert them to spaces. I’ve seen different programs convert them to 2, 3, 4, 6, and 8 just on my workstation.