[Python-Dev] PEP 3000 and new style classes
Aahz
aahz at pythoncraft.com
Thu Sep 8 18:43:12 CEST 2005
On Thu, Sep 08, 2005, Lisandro Dalcin wrote:
>
> Any possibility to add something like
>
> from __future__ import new_style_classes
>
> to have newly defined classes implicitly derive from 'object' (I
> understand this will be the implicit behavior when classic classes go
> away in Py3.0).
You can already do
__metaclass__ = type
within each module
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.
More information about the Python-Dev
mailing list