summaryrefslogtreecommitdiff
path: root/Lib/enum.py
AgeCommit message (Expand)AuthorLines
2018-10-05[3.7] bpo-34282: Fix Enum._convert method shadowing members named _convert (G...Miss Islington (bot)-4/+6
2018-05-15bpo-31947: remove None default for names param in Enum._create_ GH-4288 (GH-6...Miss Islington (bot)-1/+1
2017-06-24[3.6] bpo-30616: Functional API of enum allows to create empty enums. (#2304)...Dong-hee Na-1/+1
2017-01-24closes issue29167: fix race condition in (Int)FlagEthan Furman-4/+11
2016-12-29Issue #29103: Remove unused import. Noticed by Jean-Sebastien Bevilacqua.Raymond Hettinger-1/+1
2016-11-21close issue28172: Change all example enum member names to uppercase, per Guid...Ethan Furman-2/+2
2016-09-18issue23591: fix flag decomposition and reprEthan Furman-58/+94
2016-09-11Enum._convert: sort by value, then by nameEthan Furman-3/+10
2016-09-10issue23591: add auto() for auto-generating Enum member valuesEthan Furman-13/+37
2016-09-04issue23591: more docs; slight change to reprEthan Furman-8/+5
2016-09-02issue23591: bool(empty_flags) == False; more docs & testsEthan Furman-0/+3
2016-09-02issue23591: optimize _high_bit()Ethan Furman-7/+2
2016-09-01issue23591: add docs; code cleanup; more testsEthan Furman-4/+4
2016-08-31issue23591: add Flags, IntFlags, and testsEthan Furman-10/+217
2016-08-20issue26981: add _order_ compatibility shim to enum.EnumEthan Furman-2/+15
2016-08-20Issue26988: remove AutoEnumEthan Furman-121/+12
2016-08-05Add AutoEnum: automatically provides next value if missing. Issue 26988.Ethan Furman-12/+121
2016-06-03signal, socket, and ssl module IntEnum constant name lookups now return aGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)-2/+8
2016-05-01issue26893: use mro() to examine class heirarchyEthan Furman-1/+1
2016-05-01issue26893: use mro() to examine class heirarchyEthan Furman-1/+1
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-01-15revert change 87a9dff5106c: pure Enum members again evaluate to True;Ethan Furman-3/+0
2015-11-14Issue #23883: Add missing APIs to __all__; patch by Jacek KoƂodziejMartin Panter-1/+1
2015-09-17Issue 25147: add reason for using _collectionsEthan Furman-0/+1
2015-09-17Close issue25147: use C implementation of OrderedDictEthan Furman-1/+6
2015-09-17Close issue24840: Enum._value_ is queried for bool(); original patch by Mike ...Ethan Furman-0/+3
2015-04-11Close issue23900: add default __doc__ to new enumerations that do not specify...Ethan Furman-0/+4
2015-03-18issue23673Ethan Furman-0/+26
2015-03-11Close issue23486: performance boost for enum member lookupEthan Furman-1/+10
2014-10-21Issue22506: remove name & value from __dir__ as they now show up automaticallyEthan Furman-2/+1
2014-10-14Issue22506: merge from 3.4Ethan Furman-1/+6
2014-10-14Issue22506: added methods on base Enum class now show up in dir of Enum subcl...Ethan Furman-1/+6
2014-09-16Close issue21706: add 'start' parameter to functional APIEthan Furman-8/+8
2014-09-16consistently use _name_ and _value_; patch from Kiss GyorgyEthan Furman-5/+5
2015-03-18issue23673Ethan Furman-0/+26
2014-03-03Close issue20653: improve functional API docs; minor code changesEthan Furman-12/+27
2014-02-18Close issue20653: allow Enum subclasses to override __reduce_ex__Ethan Furman-13/+13
2014-02-08Close issue20534: all pickle protocols now supported.Ethan Furman-11/+17
2013-11-13removed Enum.__eq__ as it added nothingEthan Furman-5/+0
2013-10-06Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM.Ethan Furman-2/+4
2013-09-27Issue19030: fixed comment that was still referring to a changed descriptor.Ethan Furman-2/+2
2013-09-25Close #19030: improvements to inspect and Enum.Ethan Furman-29/+3
2013-09-22Close #19025: Better error message when trying to delete an Enum member.Ethan Furman-2/+12
2013-09-15Close #18693: Enum is now more help() friendly.Ethan Furman-2/+8
2013-09-15Close #18989: enum members will no longer overwrite other attributes, nor be ...Ethan Furman-15/+21
2013-09-14Add __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha...Ethan Furman-10/+13
2013-09-06Close #18924: Block naive attempts to change an Enum member.Ethan Furman-0/+13
2013-08-31Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such ...Ethan Furman-2/+16