This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PEP 298 implementation
Type: Stage:
Components: None Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: theller
Priority: normal Keywords: patch

Created on 2002-12-12 19:43 by theller, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pep298.core.patch theller, 2002-12-12 19:44 Patch to the Python core which defines the interface.
string.patch theller, 2002-12-12 19:46 Patch for stringobject.c
unicodeobject.patch theller, 2002-12-12 19:47 Patch to unicodeobject.c
arraymodule.patch theller, 2002-12-12 19:48 Patch to arraymodule.c
Messages (3)
msg41982 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2002-12-12 19:43
Implementation of PEP 298 - the locked buffer interface.
msg41983 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2002-12-12 19:53
Logged In: YES 
user_id=11105

There is no need to review the patches, as it seems, nobody
needs this and the PEP will be rejected.

Discussion of the patches:
One thing is missing in pep298.core.patch, a change should
probably be made to PyType_Ready(), so that
Py_TPFLAGS_HAVE_GETCHARBUFFER is set when
Py_TPFLAGS_HAVE_LOCKEDBUFFER is present.

arraymodule.patch: A diffferent error should probably be
raised when the array object cannot be resized because it is
locked, currently the patch uses PyExc_RuntimeError.
msg41984 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2003-02-05 17:31
Logged In: YES 
user_id=11105

I lost the interest in this :-)
History
Date User Action Args
2022-04-10 16:06:00adminsetgithub: 37606
2002-12-12 19:43:48thellercreate