[pypy-commit] cffi default: Add a comment

arigo noreply at buildbot.pypy.org
Thu Mar 28 14:28:29 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1201:80e393584295
Date: 2013-03-28 14:27 +0100
http://bitbucket.org/cffi/cffi/changeset/80e393584295/

Log:	Add a comment

diff --git a/cffi/vengine_cpy.py b/cffi/vengine_cpy.py
--- a/cffi/vengine_cpy.py
+++ b/cffi/vengine_cpy.py
@@ -291,6 +291,8 @@
         if tp.ellipsis:
             self._do_collect_type(tp)
         else:
+            # don't call _do_collect_type(tp) in this common case,
+            # otherwise test_autofilled_struct_as_argument fails
             for type in tp.args:
                 self._do_collect_type(type)
             self._do_collect_type(tp.result)


More information about the pypy-commit mailing list