[Python-3000] Reminder: Py3k PEPs due by April (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 11 02:38:03 CEST 2007
- Previous message: [Python-3000] Reminder: Py3k PEPs due by April
- Next message: [Python-3000] Reminder: Py3k PEPs due by April
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote:
The subclasses method is useful -- even more so in 3.x than in 2.x, because in 3.x there are no classic classes.
For security purposes, I think it would be better to adopt a principle that it shouldn't be possible to do anything dangerous merely by instantiating a class (e.g. open() opens files, but file() doesn't). Then subclasses would be harmless.
-- Greg
- Previous message: [Python-3000] Reminder: Py3k PEPs due by April
- Next message: [Python-3000] Reminder: Py3k PEPs due by April
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]