From 19fe4e3775bfdb328d55be4249fe203d71d02a4e 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. (GH-18626) (cherry picked from commit ee3bac4cba56b51ce924f13d77b97131eec1a865) Co-authored-by: Stefan Krah --- Objects/memoryobject.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index ce8fa3f270051f..61669aedc73423 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 "internal/mem.h"