Serializer_v5._pack_revision and _unpack_revision to become public?

Andrew Bennetts andrew at canonical.com
Tue Jan 17 23:35:18 GMT 2006


On Wed, Jan 18, 2006 at 08:40:31AM +1100, Robert Collins wrote:
[...]
> 
> With respect to 'leaky abstractions' - exposing the internals (currently
> xml) of a serialisation format is very leaky. pickle and other python
> serialisers can use introspection, so theres no need to specifically
> handle revision properties. As for the GUI - if you wish to support a

Pickle is quite leaky too -- by default it probably serialises more attributes
than you care about (and so may silently grab surprising large object graphs to
pickle what you thought was a simple object), and is also extremely likely to be
broken by renames in the corresponding code of attributes, modules or classes of
anything in the object graph it does serialise.

-Andrew.





More information about the bazaar mailing list