[Python-3000] ABC PEP isinstance issue Was: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 29 03:57:49 CEST 2007
- Previous message: [Python-3000] ABC PEP isinstance issue Was: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)
- Next message: [Python-3000] ABC PEP isinstance issue Was: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
On 4/28/07, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>> class X(object): ... class = property(lambda self: int) I'm not particularly enamored with it, but I believe it once served a purpose for Zope. Does anyone know if it is still needed?
I thought you wanted this so that proxy objects can pretend to be instances of the class they're proxying.
-- Greg
- Previous message: [Python-3000] ABC PEP isinstance issue Was: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)
- Next message: [Python-3000] ABC PEP isinstance issue Was: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]