A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-October/155610.html below:

[Python-Dev] Standardize error message for non-pickleable types

[Python-Dev] Standardize error message for non-pickleable types [Python-Dev] Standardize error message for non-pickleable typesSteven D'Aprano steve at pearwood.info
Mon Oct 29 18:21:10 EDT 2018
On Mon, Oct 29, 2018 at 08:51:34PM +0100, Victor Stinner wrote:
> Le lun. 29 oct. 2018 à 20:42, Serhiy Storchaka <storchaka at 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.


-- 
Steve
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4