exception documentation

class UnpicklableConfigMember(Exception): (source)

View In Hierarchy

A config file contained module objects, which can't be pickled/copied. We raise this more easily catchable exception instead of letting the (unclearly phrased) TypeError bubble out of the pickle module. (However, to avoid our own fragile catching of that error, we head it off by explicitly testing for module members.) .. versionadded:: 1.0.2