Shed Skin: An experimental (restricted) Python-to-C++ compiler
code.google.com
code.google.com
The subset is just so tiny. No a and *k, no nested functions. Most decorators won't work either.
1.) An initialization phase which is PURE Python, so you can do all the dynamic/introspective/metaprogramming magic you want
2.) A main phase which is a restricted static subset of Python, which is much more Java/C#-like
Here's an abstract and paper about it: http://www.disi.unige.it/person/AnconaD/papers/Recent_abstra...