On 09/05/2017 18:05, Ethan Furman wrote:
A comment on a recent SO answer [1] wondered why my aenum library wasn't
mentioned in the docs to help guide people that needed/wanted more
advanced Enum options to it. I responded that Python was not in the
habit of mentioning third-party libraries in the docs.
However, I thought I would double-check here to see if it might be a
good idea.
Pros:
- drop-in replacement for the stdlib Enum
- has many advanced features such as
- auto __init__ building
- multi-value members
- duplicate value but non-aliasing members
- etc.
- I'm the primary/only maintainer for both
Cons:
- third-party library
Thoughts?
--
~Ethan~
[1] http://stackoverflow.com/a/43855536/208880
The precedent is all ready set as the third-party regex module gets a
mention here https://docs.python.org/3/library/re.html and the requests
package here https://docs.python.org/3/library/urllib.request.html.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com