[pypy-commit] pypy default: Fix test_bitfields just by relaxing this check here.

arigo noreply at buildbot.pypy.org
Sun Nov 6 08:45:56 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r48809:ba608a73c81c
Date: 2011-11-06 08:44 +0100
http://bitbucket.org/pypy/pypy/changeset/ba608a73c81c/

Log:	Fix test_bitfields just by relaxing this check here.

diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structure.py
--- a/lib_pypy/_ctypes/structure.py
+++ b/lib_pypy/_ctypes/structure.py
@@ -17,7 +17,7 @@
         if len(f) == 3:
             if (not hasattr(tp, '_type_')
                 or not isinstance(tp._type_, str)
-                or tp._type_ not in "iIhHbBlL"):
+                or tp._type_ not in "iIhHbBlLqQ"):
                 #XXX: are those all types?
                 #     we just dont get the type name
                 #     in the interp levle thrown TypeError


More information about the pypy-commit mailing list