New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider enum from the Python3 standard library #2641

Open
AndyMender opened this Issue Apr 2, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@AndyMender
Member

AndyMender commented Apr 2, 2017

For now we have been using a custom enum implementation, which is more similar to the C/C++ enum type in behavior. The Python3 standard library offers its own enum module with a different API. However, it is more Pythonic.

It might be worth considering an API change for enum once more pressing matters are taken care of.

@squiddy

This comment has been minimized.

Show comment
Hide comment
@squiddy

squiddy May 19, 2017

Member

I briefly looked into this and one issue is that some parts of the code are extending enums, especially the ai IIRC.

Member

squiddy commented May 19, 2017

I briefly looked into this and one issue is that some parts of the code are extending enums, especially the ai IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment