Ctypes Structure doesn`t support duplicate field names

Issue #2621 resolved
Mihnea Saracin
created an issue

When I try to run the attached script, it gives the following result only for PyPy . But on Cpython this is legitimate code.

ValueError: duplicate field name a

The script is part of ctypes/test/test_byteswap.py lines 168-186