pyc is a full blown compiler from Python source to Python VM bytecode, written by Stelios Xanthakis. Yet another vehicle for doing interesting programming language design, implementation, and pedagogy.
Now here's a whacky idea, taking off from Andrew Appel's compiler text, Modern Compiler Implementation in Python.