[Python-ideas] simplification pep-like thing
tomer filiba
tomerfiliba at gmail.com
Sat Jan 27 22:34:02 CET 2007
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
More information about the Python-ideas
mailing list