This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Oren Milman, serhiy.storchaka
Date 2017-10-08.12:02:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507464178.06.0.213398074469.issue31490@psf.upfronthosting.co.za>
In-reply-to
Content
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_
History
Date User Action Args
2017-10-08 12:02:58serhiy.storchakasetrecipients: + serhiy.storchaka, Oren Milman
2017-10-08 12:02:58serhiy.storchakasetmessageid: <1507464178.06.0.213398074469.issue31490@psf.upfronthosting.co.za>
2017-10-08 12:02:58serhiy.storchakalinkissue31490 messages
2017-10-08 12:02:57serhiy.storchakacreate