remove obsolete python mode options