Python On Compiler Design Questions