forked from pool/python-atom
* 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atom?expand=0&rev=14
4 lines
131 BLFS
Plaintext
4 lines
131 BLFS
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:eccc1ab0cc1c6d1ed5b6ecd1e768f8b8727447605bd009a2a0b49b4ee7eb963d
|
|
size 161043
|