Skip to content

Conversation

@davidjosephs-andesite
Copy link

@davidjosephs-andesite davidjosephs-andesite commented Nov 6, 2025

the existence of python code means we cannot compile aenum to bytecode with compileall, without resorting to deleting _py2.py. This PR attempts to remove python 2 support instead. closes #51

from aenum import _reduce_ex_by_name, unique, skip, extend_enum, auto, enum, MultiValue, member, nonmember, no_arg
from aenum import basestring, baseinteger, unicode, enum_property
from aenum import pyver, PY2, PY3, PY2_6, PY3_3, PY3_4, PY3_5, PY3_6, PY3_7, PY3_11
from aenum import pyver, PY3, PY3_3, PY3_4, PY3_5, PY3_6, PY3_7, PY3_11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there are extra spaces where the python 2 versions were removed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do we really need _py2.py

2 participants