Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: In 2.7 "%U" is not recognized in the format string.
>>> class Name(Structure): ... _fields_ = [] ... _anonymous_ = ["x"] ... x = 42 ... Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: '%U' is specified in _anonymous_ but not in _fields_ ---------- status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31490> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com