summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-02-24 10:15:26 (GMT)
committerGitHub <noreply@github.com>2020-02-24 10:15:26 (GMT)
commitee3bac4cba56b51ce924f13d77b97131eec1a865 (patch)
treee98f2d6b9a5524a77a7da88ab9afd93b2f883fbb
parentc3fa634096eedbaf477698adab666f03085a7928 (diff)
downloadcpython-ee3bac4cba56b51ce924f13d77b97131eec1a865.zip
cpython-ee3bac4cba56b51ce924f13d77b97131eec1a865.tar.gz
cpython-ee3bac4cba56b51ce924f13d77b97131eec1a865.tar.bz2
Give proper credits for the memoryview implementation. (#18626)
-rw-r--r--Objects/memoryobject.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c
index 6887c43..7f9c900 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"