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 sta
"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:
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?
--
http://mail.python.org/mailman/listinfo/python-list