[Python-Dev] Make it an error to use __slots__ with classic classes
Fred L. Drake, Jr.
fdrake at acm.org
Sat Aug 9 03:04:00 EDT 2003
More information about the Python-Dev mailing list
Sat Aug 9 03:04:00 EDT 2003
- Previous message: [Python-Dev] Make it an error to use __slots__ with classic classes
- Next message: [Python-Dev] Make it an error to use __slots__ with classic classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Raymond Hettinger writes: > Using __slots__ with a classic class is an error that does > not readily reveal itself. For Py2.3.1, I would like to > issue a warning, and for Py2.4, I would like to > raise an exception upon class creation: You'll need to explain your motivation a bit more. Why is it an error to define __slots__ on an old-style class? (Useless perhaps, but why an error?) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
- Previous message: [Python-Dev] Make it an error to use __slots__ with classic classes
- Next message: [Python-Dev] Make it an error to use __slots__ with classic classes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list