Setting a module package to use new-style classes

Panos Laganakos panos.laganakos at gmail.com
Mon May 1 11:17:04 EDT 2006


Is there a way to have a whole module package use the new-style
classes, without having to specify it per module-file or even worse,
per class definition?

Maybe by declaring the __metaclass__ in the module's __init__.py?




More information about the Python-list mailing list