The shortcut >>
doesn't indent lines that start with #
for me in either C or Python when smartindent
is set.
If anyone has a workaround, that would be cool; I'm also posting this let people know (it was rather confusing and frustrating why that key wasn't working).