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

Stephen J. Turnbull stephen at xemacs.org
Mon Nov 29 04:47:40 CET 2010


Michael Foord writes:
 > On 28 November 2010 14:12, Georg Brandl <g.brandl at gmx.net> wrote:
 > 
 > > 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?
 > >
 > 
 > Undigestable surely...

Only if you're a Consitituational historian.




More information about the Python-ideas mailing list