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/2001-October/018021.html below:

[Python-Dev] 2.1.1 maintenance branch

[Python-Dev] 2.1.1 maintenance branchNeil Schemenauer nas@python.ca
Thu, 18 Oct 2001 12:53:22 -0700
Guido van Rossum wrote:
> I'n curious about abstract_isinstance -- is that what you checked in
> last night?

Yes.

> I thought that was for 2.2 but I may have misunderstood
> the issue (I have to admit I have no idea what abstract_isinstance
> does any more :-( ).

No, abstract_isinstance has been broken for a long time, maybe forever.
It is supposed to work for class-like objects like ExtensionClass
instances as well as for standard classes and types.  One problem was
that if you gave it a normal instance as the first argument but an
ExtensionClass as the second argument it raised a type error.  It's
annoying to us at the MEMS Exchange because we use ExtensionClasses and
isinstance all the time (Greg likes type checking).  We ended up
rewriting isinstance() and issubclass() in Python.  The average Python
user doesn't care.

  Neil



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