A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-September/056307.html below:

[Python-Dev] PEP 3000 and new style classes

[Python-Dev] PEP 3000 and new style classes [Python-Dev] PEP 3000 and new style classesAahz 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4