compile.py: Compile attribute list more literally