enhancement request: make py3 read/write py2 pickle format
Marko Rauhamaa
marko at pacujo.net
Thu Jun 11 00:08:46 EDT 2015
Devin Jeanpierre <jeanpierreda at gmail.com>:
> For example, one can also imagine testing that a serialized structure
> is identical across version changes, so that it's guaranteed to be
> forwards/backwards compatible. It is not enough to test that the
> deserialized form is, because it might differ substantially, as long
> as the communicated serialized structure is the same.
There are merits to canonical serialization formats, but that approach
to testing is far too simplistic. A test case should accept all observed
behavior that is correct.
Marko
More information about the Python-list
mailing list