[python/applist] make enumeration work on iOS >= 8