[Python-Dev] mention aenum in the Enum docs?

Brett Cannon brett at python.org
Tue May 9 18:47:59 EDT 2017


On Tue, 9 May 2017 at 10:59 Mark Lawrence via Python-Dev <
python-dev at python.org> wrote:

> 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.
>

Mark's right that we already do this for select modules. Since aenum is by
the author of enum to add things that don't fit in the stdlib and has been
out for years (i.e. by you, Ethan :) , I see nothing wrong with linking to
it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170509/e9beab21/attachment.html>


More information about the Python-Dev mailing list