On 4/5/06, Walter Dörwald <[EMAIL PROTECTED]> wrote:
> The problem with this is that it looks in the base protocol only if the
> the class can't be found in the registry of the subprotocol. This mean
> that an adapter from the subprotocol might be used, although the base
> protocol has a "better" adapter (i.e. one whose class that is nearer to
> real class of the object.

It also doesn't look like it will work right for recursive invocations
of the adapter by some implementation (as happens to be common for the
pprint example).

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to