[Patches] [ python-Patches-652857 ] PEP 298 implementation

noreply@sourceforge.net noreply@sourceforge.net
Thu, 12 Dec 2002 11:53:40 -0800


Patches item #652857, was opened at 2002-12-12 20:43
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=652857&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Nobody/Anonymous (nobody)
Summary: PEP 298 implementation

Initial Comment:
Implementation of PEP 298 - the locked buffer interface.

----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2002-12-12 20:53

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=652857&group_id=5470