[pypy-commit] pypy default: Comment

arigo pypy.commits at gmail.com
Wed Jun 8 04:31:47 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r85025:29c6a8a14464
Date: 2016-06-08 10:32 +0200
http://bitbucket.org/pypy/pypy/changeset/29c6a8a14464/

Log:	Comment

diff --git a/pypy/module/_cffi_backend/func.py b/pypy/module/_cffi_backend/func.py
--- a/pypy/module/_cffi_backend/func.py
+++ b/pypy/module/_cffi_backend/func.py
@@ -201,6 +201,9 @@
         else:
             copy_string_to_raw(llstr(src_string), dest_data, 0, n)
     else:
+        # nowadays this case should be rare or impossible: as far as
+        # I know, all common types implementing the *writable* buffer
+        # interface now support get_raw_address()
         if src_is_ptr:
             for i in range(n):
                 dest_buf.setitem(i, src_data[i])


More information about the pypy-commit mailing list