diff --git a/atom-0.10.0.tar.gz b/atom-0.10.0.tar.gz new file mode 100644 index 0000000..0f170f3 --- /dev/null +++ b/atom-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d922845b6714c37cfe34c830088912cc4d27e19aec56504323978cc3a032b94 +size 167676 diff --git a/atom-0.9.1.tar.gz b/atom-0.9.1.tar.gz deleted file mode 100644 index f928782..0000000 --- a/atom-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:025cdd2606ea9cf3b4c3a10f3267ae98652bc7acdb528aa1cf4b2df3ba4f5d6a -size 161250 diff --git a/python-atom.changes b/python-atom.changes index 2d0c763..d30abdf 100644 --- a/python-atom.changes +++ b/python-atom.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Tue May 9 19:28:45 UTC 2023 - Dirk Müller + +- update to 0.10.0: + * AtomMeta: create the class only once all members have been + customized + This allows to use ``__init_subclass__`` since previously the + ``__atom_members__`` was not set when ``__init_subclass__`` + was called + * illustrate the use of ``__init_subclass__`` to customize + pickling + * refactor the metaclass to make it easier to reason about + * add a ``DefaultDict`` member which enforce the value to be a + dictionary and use a factory for missing keys. The factory + is set at the member level and a normal dict can be provided + as value. When possible the factory is deduced from the member + used for validation. + * infer the use of ``DefaultDict`` from a + ``collections.defaultdict`` annotation + ------------------------------------------------------------------- Sun Apr 16 16:47:35 UTC 2023 - Dirk Müller diff --git a/python-atom.spec b/python-atom.spec index af4137f..b3f0f3d 100644 --- a/python-atom.spec +++ b/python-atom.spec @@ -17,7 +17,7 @@ Name: python-atom -Version: 0.9.1 +Version: 0.10.0 Release: 0 Summary: Memory efficient Python objects License: BSD-3-Clause