I'm creating an addon loader that allows developers to test their addon in realtime from their external development environment (like eclipse and pydev). Since Blender does not reload all addons automaticly I have to deactivate and reactivate the addon (the refresh button does just update the addon list)
I thought I could dig a bit in the Blender sourcecode and use the original code that activates and deactivates an addon. I found several things (in space_userpref.py line 1227 & line 1263) that could do what I want, but it never worked.
the simplest way of de- and reactivating an addon with a known name.