New issue 2230: anonymous structure members can't be found
https://bitbucket.org/pypy/pypy/issues/2230/anonymous-structure-members-cant-be-found
Saul St. John:
Attached code works on CPython 2.7.10, fails under pypy 4.0.1 with this
exception:
Traceback (most recent call last):
File "/tmp/test.py", line 12, in <module>
o.x = 1
File
"/home/saul/Downloads/pypy-4.0.1-linux_x86_64-portable/lib_pypy/_ctypes/structure.py",
line 122, in __set__
obj._buffer.__setattr__(self.name, arg)
AttributeError: C Structure has no attribute x
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue