[Python-3000-checkins] r59125 - python/branches/py3k/Objects/stringobject.c

Guido van Rossum guido at python.org
Fri Nov 23 02:51:15 CET 2007


On Nov 22, 2007 1:42 PM, amaury.forgeotdarc
<python-3000-checkins at python.org> wrote:
> Next step: should PyString_AsStringAndSize accept buffer objects?

No, code that wants to accept buffer objects should be rewritten to
use the proper buffer APIs, which make sure the data is locked in
memory while it is being used.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000-checkins mailing list