What about ``exec()`` with ``globals()``?  This is pretty gross but maybe it's the only way.