[Python-Dev] PEP 3000 and new style classes (original) (raw)

Lisandro Dalcin dalcinl at gmail.com
Thu Sep 8 18:56:07 CEST 2005


On 9/8/05, Aahz <aahz at pythoncraft.com> wrote:

You can already do metaclass = type within each module

Yes, you are right. But this way, you are making explicit a behavior that will be implicit in the future.

For example, we could also do:

two = float(4)/float(2)

instead of

from __future__ import division
two = 4/2

-- Lisandro Dalcín

Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594



More information about the Python-Dev mailing list