Changes between Initial Version and Version 1 of Ticket #28302, comment 16


Ignore:
Timestamp:
Oct 16, 2019, 7:30:20 AM (3 years ago)
Author:
Sebastian Oehms
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28302, comment 16

    initial v1  
    5757One problem I see is that pickling serializes all related instances independent whether they are simple structured or not. Thus the chance that changes in data structure will harm pickling is really high. Your suggestion would heal such violations, if they where detected. But how can you guarantee that developers and reviewers of all such harmful changes will notice that they should implement or adapt an `_upgrade` method?
    5858
    59 I made some tests on how an option to ''boil the egg'' could look like (using your idea, as well) and documented this in a jupyter notebook [[demo_yaml.ipynb]] I've attached to that ticket.
     59I made some tests on how an option to ''boil the egg'' could look like (using your idea, as well) and documented this in a [https://trac.sagemath.org/attachment/ticket/28302/demo_yaml.ipynb jupyter notebook] I've attached to that ticket.
    6060
    6161I think we should do both: Make pickling more save and think about another format!