summaryrefslogtreecommitdiffstats
path: root/Objects/memoryobject.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-02-24 10:52:10 (GMT)
committerGitHub <noreply@github.com>2020-02-24 10:52:10 (GMT)
commitaa8213486f69c15bb9e07d2232d19bf2e9875070 (patch)
tree0a5f28aea4d32ad3403260c4556ec82472335ec6 /Objects/memoryobject.c
parentc97fc564a6c76ba5287f1b16bc841a1765820b0c (diff)
downloadcpython-aa8213486f69c15bb9e07d2232d19bf2e9875070.zip
cpython-aa8213486f69c15bb9e07d2232d19bf2e9875070.tar.gz
cpython-aa8213486f69c15bb9e07d2232d19bf2e9875070.tar.bz2
Give proper credits for the memoryview implementation. (GH-18626) (#18642)
(cherry picked from commit ee3bac4cba56b51ce924f13d77b97131eec1a865) Authored-by: Stefan Krah <skrah@bytereef.org>
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r--Objects/memoryobject.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c
index 9205079..0bbcbb2 100644
--- a/Objects/memoryobject.c
+++ b/Objects/memoryobject.c
@@ -1,4 +1,14 @@
-/* Memoryview object implementation */
+/*
+ * Memoryview object implementation
+ * --------------------------------
+ *
+ * This implementation is a complete rewrite contributed by Stefan Krah in
+ * Python 3.3. Substantial credit goes to Antoine Pitrou (who had already
+ * fortified and rewritten the previous implementation) and Nick Coghlan
+ * (who came up with the idea of the ManagedBuffer) for analyzing the complex
+ * ownership rules.
+ *
+ */
#include "Python.h"
#include "pycore_object.h"