python-atom
No description set
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / python-atom
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/python-atom && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
atom-0.9.0.tar.gz | 0000161043 157 KB | |
python-atom.changes | 0000006691 6.53 KB | |
python-atom.spec | 0000002027 1.98 KB |
Revision 14 (latest revision is 25)
Dirk Mueller (dirkmueller)
committed
(revision 14)
- 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.
Comments 0