[Python-Dev] new security doc using object-capabilities
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Jul 23 03:24:43 CEST 2006
Armin Rigo wrote:
> I'm not sure I understand what you propose to fix holes like
> constructors and __subclasses__: it seems that you want to remove them
> altogether (and e.g. make factory functions instead). That would
> completely break all programs, right? I mean, there is no way such
> changes would go into mainstream CPython.
How much code is actually out there that uses __subclasses__?
It seems like a fairly esoteric corner of the language to me.
In any case, I think this approach should certainly be tried,
and if it works out, considered for Py3k.
--
Greg
More information about the Python-Dev
mailing list