aenum icon indicating copy to clipboard operation
aenum copied to clipboard

Advanced Enumerations for Python

Results 26 aenum issues
Sort by recently updated
recently updated
newest added

Hi, I'm getting this `NoneType` releated error when using recent `aenum` releases with PyPy: ```bash $ pypy3 -m pip install -qqq aenum==3.1.12 && pypy3 -c 'import aenum' $ pypy3 -m...

The build process of `aenum` for nixpkgs fails on Python 3.11 while it works on Python 3.10. ```bash running install tests .....................................................................................................................................................................................................................................E................................F.................................................................................................................................................................................... ====================================================================== ERROR: test_stdlib_inheritence (aenum.test_v3.TestEnumV3.test_stdlib_inheritence) ---------------------------------------------------------------------- Traceback (most recent...

Allow something like this: `MyNoAliasEnum(MyNoAliasEnum.FOO)`. It makes sense why NoAlias enums can't be looked up by the raw value since they may not be unique, but unless I'm missing something...

Hi, After bumping `pydantic` to `2.7` version I've noticed that it's not possible to instantiate a Pydantic class having an attr of type `aenum.MultiValueEnum`. Pydantic detects only the canonical value...

Hi, What's the license of your library?

When using the Flag enum class, entries that are composite with other entries omits them from the list of all enum entries, even if all entries are unique. ``` from...

auto() only factors in the last | operation on the right side. I've found a work around is to move the |'s to the left of auto but a fix...

I noticed two issues: Latest version on pypi is 3.1.16 but in this repo only 3.1.15 is tagged. Source is missing for 3.1.16 https://pypi.org/project/aenum/3.1.16/#files But 3.1.15 is ok: https://pypi.org/project/aenum/3.1.15/#files

https://github.com/ethanfurman/aenum/blob/523f7d4936b16fc598dcde94f55fe3224d0c96b7/aenum/_enum.py#L1602 Should be as simple as passing kwargs as the last parameter to this line.

I would love to use `NoAlias` from this library, however it looks like (from https://github.com/ethanfurman/aenum/pull/36) it may not have been checked for compatibility with Python 3.12 or 3.13 yet? Is...