Revisions of python-atom

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1142763 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 0.10.4:
  * allow unions in TypeVar bound PR #207
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1115791 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
- update to 0.10.3:
  * fix a an issue when using add_member to override an existing
    membe
  * fix a memory leak caused by Dict, Defaultdict and Set members
  * add support for Python 3.12 PR #200

    was called
  * clarify Unicode deprecation warning PR #102
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1090194 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- add sle15_python_module_pythons as it requires python >= 3.8
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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1079774 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- update to 0.9.1:
  * fix generation of Value member from union containing
    object/Any PR #198
  * fix setdefault method of atomdict to return the actually
    stored item PR #197
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1068464 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
- update to 0.9.0:
  * fix the generation of Subclass from type annotations PR #193
  * move getstate and setstate implementation to C and allow to
    customize the condition under which a member value is
    pickled. PR #182
  * Customization is used to only pickle member value whose
    state can be restored (for example Constant is not
    pickled). Whether a member is pickled can be customized
    using a method prefixed with ``_getstate_`` on an Atom
    subclass.
  * use the Typed member when a type annotation resolve to a
    single type whose metaclass does not implement a custom
    ``__instancecheck__`` PR #185
  * generate Tuple member for tuple[] annotations.
    The content of the tuple is typed check only if it is a
    1-tuple or variable-length tuple. PR #184
  * fix the resolution order of members in the presence of
    multiple inheritance with a common base class PR
  * Due to the above changes, adding a member after the class
    definition requires more work than before. As a
    consequence a new helper function ``add_member`` has
    been added.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 860365 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 5)
- Update to 0.6.0:
  * Add support for Python 3.9 and remove deprecated members.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 829857 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 4)
- Update to 0.5.2:
  * make comparison used in C safe (fix bug introduced in 0.5.0) PR #107
  * fix bug in using atomlist from C PR #102
  * clarify Unicode deprecation warning PR #102
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 800854 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 3)
- Update to 0.5.0:
  * drop Python 2 support PR #83
  * use cppy to write the c++ extension PR #83
  * add c++ implememtation of AtomDict PR #93
  * add a Set member PR #93
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 682152 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- Update to 0.4.3:
  * Remove dependency on future which was slowing down import time
- Switch to github tarball for tests and license
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 607645 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
Needed by python-enaml.
Displaying all 13 revisions
openSUSE Build Service is sponsored by