[Python-ideas] Adding `Unpicklable` to the `collections` module

Georg Brandl g.brandl at gmx.net
Sun Nov 28 15:12:38 CET 2010


Am 28.11.2010 13:40, schrieb Masklinn:

>> Twisted has a taste for "smart" obscure names (can you guess what Avatar
>> and Portal are for?), which is not in core Python's tradition. 
>> NonPickleable would be fine IMO.
>> 
> 
> Why not `pickle.Incompatible`? It's not like the ABC has anything to do with
> collections, so it would make more sense for it to live in `pickle` (which
> you've already imported if you're trying to pickle an object) rather than
> collections.

pickle.Indigestable?

Georg




More information about the Python-ideas mailing list