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/2000-September/009473.html below:

[Python-Dev] Disabling Unicode readbuffer interface

[Python-Dev] Disabling Unicode readbuffer interface [Python-Dev] Disabling Unicode readbuffer interfaceM.-A. Lemburg mal@lemburg.com
Thu, 21 Sep 2000 19:16:17 +0200
Guido van Rossum wrote:
> 
> I haven't researched this to the bottom, but based on the email
> exchange, it seems that keeping getreadbuf and special-casing s# for
> Unicode objects makes the most sense.  That makes the 's' and 's#'
> more similar.  Note that 'z#' should also be fixed.
> 
> I believe that SRE uses PyObject_AsReadBuffer() so that it can work
> with arrays of shorts as well (when shorts are two chars).  Kind of
> cute.

Ok, I'll check in a patch for special casing Unicode object
in getarg.c's "s#" later today.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           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