From f87d6b5b74e331699a89f4675e4b95ba26587186 Mon Sep 17 00:00:00 2001 From: Seth Morton Date: Sun, 24 Oct 2021 10:31:29 -0700 Subject: The ns enum actually now is a python enum I have been wanting to do this for quite some time, but needed the functionality of the IntEnum for backwards-compatibility. Now that Python 3.5 is no longer supported, the IntEnum can be used and the definition of ns is far simpler than it used to be. This plays nice with mypy also, which is the driving change. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 5683cb5..1e1d147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased --- +### Changed + + - The `ns` enum is now implemented as an `enum.IntEnum` instead of a + `collections.namedtuple` + ### Removed - Support for Python 3.4 and Python 3.5 -- cgit v1.2.1