A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-January/042142.html below:

[Python-Dev] Re: isinstance(x, types.UnboundMethodType) feature

[Python-Dev] Re: isinstance(x, types.UnboundMethodType) featureMichael Hudson mwh at python.net
Tue Jan 20 14:17:50 EST 2004
"Terry Reedy" <tjreedy at udel.edu> writes:

> "Gareth Ladd" <g.ladd at eris.qinetiq.com> wrote in message
> news:400D2420.7040701 at eris.qinetiq.com...
>> Am I missing an subtelty of bound/unbound-ness?
>
> As of 2.2, C.hello.im_self == None while c.hello.im_self == c.

Um, ITYM "As of 1.0.1" (which is the oldest version I could find when
I went looking recently).

> Presume still same in 2.3.  This is very much an implementation internal
> feature and not part of language definition.  (Meaning: can be changed
> without notice.)  

Doesn't mean it is changed very often, though :-)

> I believe this is how repr() tells difference.

It is.

Cheers,
mwh

-- 
  LINTILLA:  You could take some evening classes.
    ARTHUR:  What, here?
  LINTILLA:  Yes, I've got a bottle of them.  Little pink ones.
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 12

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4