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/2002-October/029625.html below:

[Python-Dev] buffer('abc') == 'abc' is False ?!

[Python-Dev] buffer('abc') == 'abc' is False ?! [Python-Dev] buffer('abc') == 'abc' is False ?!Martin v. Loewis martin@v.loewis.de
16 Oct 2002 16:31:38 +0200
"M.-A. Lemburg" <mal@lemburg.com> writes:

> Except one which was implicit: how to tell binary data from
> text data. 

I see. In this case,

class BinaryString(str):
  pass

should do. The string type *is* the type for binary data. For
character data, unicode is the type.

Regards,
Martin



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