python-atom

Edit Package python-atom
No description set
Refresh
Refresh
Source Files
Filename Size Changed
atom-0.10.0.tar.gz 0000167676 164 KB
python-atom.changes 0000007894 7.71 KB
python-atom.spec 0000002028 1.98 KB
Revision 10 (latest revision is 13)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085794 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
- 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
Comments 0
openSUSE Build Service is sponsored by