[New-bugs-announce] [issue26981] add compatibility shim for enum34 backport

Ethan Furman report at bugs.python.org
Sun May 8 19:45:21 EDT 2016


New submission from Ethan Furman:

_sunder_ methods are reserved for internal Enum use, and if the user tries to use any an exception is raised.

Consequently, the enum34 backport uses __order__ instead of _order_ to specify a definition order for its members.

I would like to do two things:

1) add _order_ to the stdlib version

2) ensure the actual definition order is the same as what is specified
   in _order_

----------
assignee: ethan.furman
messages: 265174
nosy: barry, eli.bendersky, ethan.furman
priority: normal
severity: normal
stage: needs patch
status: open
title: add compatibility shim for enum34 backport
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26981>
_______________________________________


More information about the New-bugs-announce mailing list