Ben Finney <[EMAIL PROTECTED]> wrote: > "Panos Laganakos" <[EMAIL PROTECTED]> writes: > > > 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? > > TTBOMK, you do that with a single statement per module, before any > class definitions: > > __metaclass__ = object
Almost: the assignment you need is __metaclass__ = type but yes, it has to be per-module. Alex -- http://mail.python.org/mailman/listinfo/python-list