Skip to content

Commit 5fe54b0

Browse files
encukouAA-Turner
andauthored
PEP 3118: Add canonical-doc & mention unimplemented changes. (GH-4200)
Co-authored-by: Adam Turner <[email protected]>
1 parent fc81536 commit 5fe54b0

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

peps/pep-3118.rst

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,24 @@ Status: Final
55
Type: Standards Track
66
Created: 28-Aug-2006
77
Python-Version: 3.0
8-
Post-History:
8+
Post-History: `09-Apr-2007 <https://mail.python.org/archives/list/[email protected]/thread/X7A5IP4VFJTVCQJSMBXGAH3BVB3A5C3T>`__
9+
10+
.. canonical-doc:: :external+python:ref:`bufferobjects`,
11+
:external+python:c:type:`PyBufferProcs`,
12+
:external+python:c:type:`PyMemoryView_FromObject`
13+
14+
Not all features proposed here were implemented. Specifically:
15+
16+
- ``PyObject_CopyToObject`` was not added.
17+
- :ref:`3118-struct-additions` were not added, except for ``?`` (``_Bool``).
18+
- ``PyObject_GetMemoryView`` is named
19+
:external+python:c:type:`PyMemoryView_FromObject`.
20+
21+
This PEP targets Python 3.0, which was released more than a decade ago.
22+
Any proposals to add missing functionality should
23+
be discussed as new features, not treated as finishing the implementation
24+
of this PEP.
25+
926

1027
Abstract
1128
========
@@ -626,6 +643,8 @@ This will also be raised when a consumer requests a buffer from an
626643
object that does not provide the protocol.
627644

628645

646+
.. _3118-struct-additions:
647+
629648
Additions to the struct string-syntax
630649
=====================================
631650

0 commit comments

Comments
 (0)