Yet Another PEP: Query Protocol Interface or __query__

Alex Martelli aleaxit at yahoo.com
Wed Mar 21 10:48:19 EST 2001


"Clark C. Evans" <cce at clarkevans.com> wrote in message
news:mailman.985168527.16577.python-list at python.org...
    [snip]
> The rest of your post resonates deeply.  Is there some
> way to get a "simple" __query__ mechanism working
> without having the type system in place?

A way to prototype 'query'/'adapt' in current Python
itself, you mean?  Sure, that should be easy.


Alex






More information about the Python-list mailing list