python.objects: use flags{ } for flags.