From ee3bac4cba56b51ce924f13d77b97131eec1a865 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Mon, 24 Feb 2020 11:15:26 +0100 Subject: [PATCH] Give proper credits for the memoryview implementation. (#18626) --- Objects/memoryobject.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index 6887c4335f1..7f9c90035f5 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"