[Python-ideas] Adding `Unpicklable` to the `collections` module
cool-rr at cool-rr.com
Mon Nov 15 16:46:43 CET 2010
Recently I had the need to filter objects based on whether they're picklable
I'm not sure what's a good way to check for a specific object whether it's
led me to think: Maybe we should have an `Unpicklable` abstract base class
in the `collections` module? Then various unpicklable classes, like locks,
files or widgets, could inherit from this class to signify that they cannot
What do you think?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas