Doh! I spent about an hour tracking this down, and then thought "no, too offtopic". :) +1 if you haven't already read about it. Pythomnic's approach seems to enable some very nice properties. See eg "Dynamic loader".