On Fri, Mar 28, 2008 at 12:58 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>
> On Fri, Mar 28, 2008 at 10:51 AM, Collin Winter <[EMAIL PROTECTED]> wrote:
> > I've been running 2to3's fix_callable over 2.6's stdlib to remove -3
> > warnings due to callable() usage; 2to3 replaces callable(x) wi
On Fri, Mar 28, 2008 at 10:51 AM, Collin Winter <[EMAIL PROTECTED]> wrote:
> I've been running 2to3's fix_callable over 2.6's stdlib to remove -3
> warnings due to callable() usage; 2to3 replaces callable(x) with
> has_attr(x, "__call__"). Unfortunately, this breaks code that wants to
> run call
I've been running 2to3's fix_callable over 2.6's stdlib to remove -3
warnings due to callable() usage; 2to3 replaces callable(x) with
has_attr(x, "__call__"). Unfortunately, this breaks code that wants to
run callable() on old-style classes (like test_builtin), because
old-style classes don't have