[Python-Dev] Global slots pondering (original) (raw)
Greg Ewing greg at cosc.canterbury.ac.nz
Tue Mar 9 18:51:49 EST 2004
- Previous message: [Python-Dev] Global __slots__ pondering
- Next message: [Python-Dev] Global __slots__ pondering
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
François Pinard:
It would be less surprising if
_metaclass_' and_ _
slots' could equally be implied globally. Or maybe? :-)
I think Guido regards slots as something of a hack that you should only use if you have a really good reason. As such it's probably good that you have to make the explicit decision for each class, rather than inheriting it from somewhere.
Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] Global __slots__ pondering
- Next message: [Python-Dev] Global __slots__ pondering
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]