
Jan. 27, 2007
9:34 p.m.
Aahz:
Built in types would be considered atomic. User-defined classes can be simplified into their metaclass, __bases__, and __dict__.
This seems to contradict the following:
For instance, file objects are atomic; one serializer may be able to handle them, by storing them as (filename, file-mode, file-position), while another may not be, so it would raise an exception.
Where do files fit into all this?
it doesn't... it was just meant to show how different serializers may implement their converters for the atomic values. it's not a practical suggestion. -tomer