On 5/5/06, Bill Janssen <[EMAIL PROTECTED]> wrote: > > > Is there anywhere else in Python where the type of an object isn't > > > checkable with isinstance()? > > > > Yes, it's called duck typing. > > And, in my opinion, it's probably worth stomping out in Py3K. It > developed as necessary because of the original dichotomy between C > classes and Python classes in Python 1, but it's now obsolete. > Mix-ins should be used instead.
You want to get rid of all duck typing? That doesn't sound right to me. Anyway it isn't enforceable. I must be misunderstanding you. -- --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
