Python S3: review fixes