New submission from Ethan Furman <et...@stoneleaf.us>:

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?

----------
messages: 400289
nosy: amaury.forgeotdarc, belopolsky, ethan.furman, meador.inge
priority: normal
severity: normal
status: open
title: add Enum to ctypes
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45004>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to