On 5/16/07, Benji York <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > On 5/14/07, Benji York <[EMAIL PROTECTED]> wrote: > >> Collin Winter wrote: > >>> PEP: 3133 > >>> Title: Introducing Roles > >> Everything included here is included in zope.interface. See in-line > >> comments below for the analogs. > > > > Could you look at PEP 3119 and do a similar analysis? > > Sure. > > > I expect that > > the main thing missing there is that it (currently) has no way to > > claim that a particular *object* has a certain behavior. > > Is "it" in that sentence the ABC PEP or zope.interface?
The ABC PEP. > > PEP 3119 currently also doesn't have a > > verification step -- but this could easily be added as an (optional) > > part of the registration call. > > I don't care much for verification. People using zope.interface have > found that writing good tests is superior to on-demand verification, and > I suspect execution time verification is a non-starter because of the > overhead (not to mention its actual desirability, or lack thereof). I don't care much for it either. If zope.interface users don't care for it either, I'm happy to declare it a non-use case. I was just thinking of how to "sell" ABCs as an alternative to current happy users of zop.interfaces. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
