[Python-Dev] Standardize error message for non-pickleable types (original) (raw)
Victor Stinner vstinner at redhat.com
Tue Oct 30 05:52:52 EDT 2018
- Previous message (by thread): [Python-Dev] Standardize error message for non-pickleable types
- Next message (by thread): [Python-Dev] short-circuiting runtime errors/exceptions in the python debugger.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le lun. 29 oct. 2018 à 22:20, MRAB <python at mrabarnett.plus.com> a écrit :
1. If you're pickling, then saying "pickle" is more helpful.
I'm not sure that it's really possible to know if the error occurs while pickle is trying to serialize an object, or if it's a different serialization protocol. We are talking about the very generic getstate() method. I'm in favor of being more general and say "cannot serialize".
Victor
- Previous message (by thread): [Python-Dev] Standardize error message for non-pickleable types
- Next message (by thread): [Python-Dev] short-circuiting runtime errors/exceptions in the python debugger.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]