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/017778.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-string [Python-Dev] Need a way to test for 8-bit-or-unicode-stringJeremy Hylton jeremy@zope.com
Fri, 5 Oct 2001 12:31:30 -0400 (EDT)
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

  GvR> There's still Neil's isinstance(x, (str, unicode)) which gives
  GvR> the programmer more freedom: maybe some function wants to
  GvR> support lists and tuples but not all sequences.

  GvR> I'm currently +1 on introducing names for abstract base classes
  GvR> *and* extensing isinstance()'s API.

+1.

Jeremy





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