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/017838.html below:

[Python-Dev] Need a way to test for 8-bit-or-unicode-string

[Python-Dev] Need a way to test for 8-bit-or-unicode-stringM.-A. Lemburg mal@lemburg.com
Mon, 08 Oct 2001 10:40:04 +0200
Guido van Rossum wrote:
> 
> Now that the introduction of a class hierarchy is dead, 

Is it ? I didn't see any messages on the list saying that the
idea is dead -- only that a PEP is needed and that it cannot
be done for 2.2.

> I'd like to
> move forward with the isinstance(x, (A, B, C...)) patch.
> 
> Followup question: should I also implement issubclass(X, (A, B, C...))?
> 
> It's consistent to do so, but it's more work (issubclass is a bit
> murkier due to the "abstract subclass" support), and I'm not sure that
> it has the same benefits...

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/




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