]> granicus.if.org Git - python/commit
Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 12 Aug 2008 14:49:50 +0000 (14:49 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 12 Aug 2008 14:49:50 +0000 (14:49 +0000)
commitf91d46a17d85da323895950852093117bc21f860
treec6a3e68cf22a6a102f9c1dc780438f0307b6588f
parentaa8efbf08469c3667ed22362c0e10b83ae124c0b
Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple,
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.

More module might need to get converted to use s*.
16 files changed:
Doc/c-api/arg.rst
Doc/whatsnew/2.6.rst
Include/abstract.h
Include/object.h
Misc/NEWS
Modules/_codecsmodule.c
Modules/_fileio.c
Modules/_multiprocessing/connection.h
Modules/bz2module.c
Modules/posixmodule.c
Modules/socketmodule.c
Objects/abstract.c
Objects/bytearrayobject.c
Objects/fileobject.c
Objects/stringobject.c
Python/getargs.c