[Python-Dev] buffer('abc') == 'abc' is False ?! (original) (raw)
Martin v. Loewis martin@v.loewis.de
16 Oct 2002 15:30:40 +0200
- Previous message: [Python-Dev] buffer('abc') == 'abc' is False ?!
- Next message: [Python-Dev] buffer('abc') == 'abc' is False ?!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"M.-A. Lemburg" <mal@lemburg.com> writes:
* signals "this data is binary data" * compares just fine to strings * gets accepted by all APIs which use the buffer interface to access the data * has a C API which can be used in extensions * is available in Python 2.1.x and up
I believe the string type meets all these requirements.
Regards, Martin
- Previous message: [Python-Dev] buffer('abc') == 'abc' is False ?!
- Next message: [Python-Dev] buffer('abc') == 'abc' is False ?!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]