On Sun, Mar 3, 2013 at 12:46 AM, Nick Coghlan ncoghlan@gmail.com wrote:
class UseNamespace(type): def __prepare__(cls, namespace): return namespace
Oops, that signature is incorrect. Assume it's tweaked appropriately to accept the normal __prepare__ arguments and still retrieve the "namespace" setting from the class header.
Cheers, Nick.