From 8f4e0cfbe03fe86fa87a488f11506a8178f8c1f8 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Sun, 23 Feb 2020 16:08:06 +0100 Subject: [PATCH] Give proper credits for the memoryview implementation. --- Objects/memoryobject.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index 6887c4335f1f18..7f9c90035f5742 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"