On 2018-10-29 22:21, Steven D'Aprano wrote:
On Mon, Oct 29, 2018 at 08:51:34PM +0100, Victor Stinner wrote:
Le lun. 29 oct. 2018 à 20:42, Serhiy Storchaka <storch...@gmail.com> a écrit :
> 1. "pickle" or "serialize"?

serialize

-1

Serializing is more general; pickle is merely one form of serializing:

https://en.wikipedia.org/wiki/Comparison_of_data_serialization_formats

When practical, error messages should be more specific, not less. We
don't say "arithmetic operation by zero" for division by zero errors, we
specify which arithmetic operation failed.

Unlike most serialization formats, "pickle" is both a noun (the name of
the format) and the verb to convert to that format.

And if you're marshalling, then saying "marshal" is more helpful.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to