On 7/18/06, Greg Ewing <[EMAIL PROTECTED]> wrote: > Andrew Koenig wrote: > > > I am uncomfortable about exposing the implementation this way, if only > > because it would require fixing the equivalence between callable() and > > hasattr(obj, '__call__') for all time. > > I don't see anything bad about fixing that equivalence. > I regard the fact that it *wasn't* fixed before as a > language design bug that Py3k will hopefully fix.
I seem to recall fixing it. Are there still callable objects without a __call__ attribute? -- --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