[Python-Dev] Improve Python for embedding