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.

classification
Title: add Enum to ctypes
Type: enhancement Stage:
Components: Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: amaury.forgeotdarc, belopolsky, ethan.furman, meador.inge
Priority: normal Keywords:

Created on 2021-08-25 19:24 by ethan.furman, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg400289 - (view) Author: Ethan Furman (ethan.furman) * (Python committer) Date: 2021-08-25 19:24
In issue44993 it was suggested to add a cEnum whose main purpose would be to start counting at 0 instead of 1.

Issues to consider:

- should such an enum subclass `int`, or a C type?

- should there be an enum for each C type?

- will mixing Enum and c_types even work?
History
Date User Action Args
2022-04-11 14:59:49adminsetgithub: 89167
2021-08-25 19:24:46ethan.furmancreate