Author Commit Message Labels Comments Date
stoneleaf avatarstoneleaf
ref435 moved to it's own repository
stoneleaf avatarstoneleaf
turned subclassing on for testing purposes
stoneleaf avatarstoneleaf
subclassing an implemented enum class now raises an error
stoneleaf avatarstoneleaf
removed spurious import
stoneleaf avatarstoneleaf
modified repr's a bit
stoneleaf avatarstoneleaf
convenience function added
stoneleaf avatarstoneleaf
subclassing works better :)
stoneleaf avatarstoneleaf
pickling now works for Enum subclasses as well
stoneleaf avatarstoneleaf
switched from 'yo' to 'self'
stoneleaf avatarstoneleaf
added IntEnum to __all__
stoneleaf avatarstoneleaf
reference implementation for PEP 435
stoneleaf avatarstoneleaf
unpluralized all the enumerations
stoneleaf avatarstoneleaf
learned about __call__ on the metaclass; now using that for enum lookup
stoneleaf avatarstoneleaf
more simplification
stoneleaf avatarstoneleaf
greatly simplified; now ignores descriptors
stoneleaf avatarstoneleaf
started migration towards NamedValue implementation
stoneleaf avatarstoneleaf
pep proposal
Default avatar stoneleaf
actually removed the commented-out magic lines :/
stoneleaf avatarstoneleaf
finished removing the dead magic code
stoneleaf avatarstoneleaf
removed magic from class -- an assignment must be made
stoneleaf avatarstoneleaf
changed 'value' to 'integer'; added 'value' for valued enums, such as strings
stoneleaf avatarstoneleaf
changed name to 'aenum';
stoneleaf avatarstoneleaf
renamed Enum to SequenceEnum; started support for plain non-int Enum
stoneleaf avatarstoneleaf
moved copyright into yaenum.py
stoneleaf avatarstoneleaf
renamed to 'yaenum';
stoneleaf avatarstoneleaf
fixed enum() having too many values for 'value';
stoneleaf avatarstoneleaf
added copyright notice and license
stoneleaf avatarstoneleaf
added examples.py
stoneleaf avatarstoneleaf
BitMaskEnum now working; all repr's in place; some tests added
stoneleaf avatarstoneleaf
switched to three different classes: Enum, BitMaskEnum, and UniqueEnum
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.