Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r2275:56e881f76f18
Date: 2015-09-26 08:38 +0200
http://bitbucket.org/cffi/cffi/changeset/56e881f76f18/

Log:    come on Py3

diff --git a/cffi/recompiler.py b/cffi/recompiler.py
--- a/cffi/recompiler.py
+++ b/cffi/recompiler.py
@@ -879,7 +879,7 @@
         # because they don't have any known C name.  Check that they are
         # not partial (we can't complete or verify them!) and emit them
         # anonymously.
-        lst = self._struct_unions.items()
+        lst = list(self._struct_unions.items())
         lst.sort(key=lambda tp_order: tp_order[1])
         for tp, order in lst:
             if tp not in self._seen_struct_unions:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to