I have a program which embeds Python (via Boost.Python), and provides an 'extension' framework. I wish to unify these two parts by allowing extensions to load a set of Python bindings for their API, however I'm confused as to how I would I 'unregister' these APIs when the plugin is unloaded.
Is this even possible with Python and Boost.Python? I know it's not possible with Lua and LuaBind, as the documentation indicates it's impossible to 'unbind' an API.
Sorry for how poorly this question is written, it's 2:30 AM here and I've been at it a while. ;)