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

Barry Warsaw barry at python.org
Mon Oct 29 16:39:48 EDT 2018


On Oct 29, 2018, at 12:51, Victor Stinner <vstinner at redhat.com> wrote:
> 
>> 4. Use the "a" article or not?
> 
> no: "cannot serialize xxx object" (but i'm not a native english
> speaker, so don't trust me :-))

It should be fine to leave off the indefinite article.

> 
>> 5. Use quotes around type name or not?

Ideally yes, if it’s easy to implement.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20181029/c4f73a8d/attachment-0001.sig>


More information about the Python-Dev mailing list