News for hackers. Stuff that matters.
Re:Every modeler is supposed to be a great Python programmer by fbdab103 on Thursday December 08, 2022 @10:47PM (#33917185)
>the serialization format is derived from the implementation and not very stable, so if the implementation changes - sometimes in subtle ways like upgrading your Python version - the serialized data isn't readable anymore.

Could be wrong, but I do not believe this is true anymore. There are pickle versions, but I believe the format has been standardized such that you should be able to freely move between Python releases.

Re:Every modeler is supposed to be a great Python programmer by jononor on Friday December 09, 2022 @03:19AM (#33918932)
The base serialization is stable and compatible across Python versions. However pickle files can serialize entire Python objects, including from custom and third party code. Compatibility of serialization then depends on the versions of the code that implements those objects, which is often not well managed.
Re:Every modeler is supposed to be a great Python programmer by fbdab103 on Friday December 09, 2022 @07:37PM (#33928430)
Ah that's fair. I was only considering serializing native types (for which there are much better options).