lp:~msabramo/flufl.enum/python2.6
Created by
Marc Abramowitz
and last modified
- Get this branch:
- bzr branch lp:~msabramo/flufl.enum/python2.6
Only
Marc Abramowitz
can upload to this branch. If you are
Marc Abramowitz
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Rejected
for merging
into
lp:~barry/flufl.enum/trunk
- Barry Warsaw: Pending requested
-
Diff: 135 lines (+22/-11)6 files modifiedflufl/enum/README.rst (+1/-1)
flufl/enum/_enum.py (+7/-7)
flufl/enum/docs/using.rst (+1/-1)
flufl/enum/tests/test_enum.py (+5/-1)
setup.py (+7/-0)
tox.ini (+1/-1)
Branch information
Recent revisions
- 95. By Barry Warsaw
-
Ensure that proper terminology is used throughout, re: enumerations,
enumeration items, and enumeration values. - 94. By Barry Warsaw
-
* ``Enum.
__getattr_ _()`` and special treatment for ``__members__`` is
removed. A ``__dir__()`` is provided to limit ``dir(Enum)`` to just the
enumeration item names. - 93. By Barry Warsaw
-
* ``repr(Enum)`` now sorts in attribute name order, as does iteration over
``Enum``s. Iteration over ``IntEnum``s is sorted by the enumeration item
values (which must be integers). - 92. By Barry Warsaw
-
* Comparison operators now return ``NotImplemented`` which cause their use to
raise ``TypeError`` instead of ``NotImplementedError` `. This is for
consistency with Python 3. In Python 2, we raise the ``TypeError``
explicitly.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~barry/flufl.enum/trunk