forked from pool/python-aenum
68b17afe7446002d687c7d87013c1053990006efd517cdbd2429acfb2a4427df
- Update to 3.0.0:
* The more esoteric method of creating Enums have been modified or removed
* Member creation has been redone to match Python 3.10's methods.
* enum_property() has been renamed to property() (old name still available,
but deprecated).
* bin() replacement shows negative integers in twos-complement
* call __init_subclass__ after members have been added, and in Pythons < 3.6
* call __set_name__ in Pythons < 3.6
* do not convert/disallow private names
* add iteration/len support to NamedConstant
* add support to Constant to retrieve members by value
* add pickle/deepcopy support to Constant
* add support for Constant to use other Constant values
* AutoNumber and auto() now work together
- Update URL now that bitbucket is dead.
OBS-URL: https://build.opensuse.org/request/show/884804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aenum?expand=0&rev=5
Description
No description provided
Languages
Diff
100%