[New-bugs-announce] [issue13760] ConfigParser exceptions are not pickleable

Faheem Mitha report at bugs.python.org
Wed Jan 11 08:50:12 CET 2012

New submission from Faheem Mitha <faheem at faheem.info>:

I have not experienced this myself, but see

This appears to be another case of http://bugs.python.org/issue1692335

I also recently reported a similar problem at http://bugs.python.org/issue13751

Looking at the code for `NoOptionError` (see below) in 2.6 at least it would indeed be subject to the same problem. Perhaps some attention could be paid to 
resolving 1692335, which would presumably make this vexing problem go away?

class NoOptionError(Error):
    """A requested option was not found."""

    def __init__(self, option, section):
        Error.__init__(self, "No option %r in section: %r" %
                       (option, section))
        self.option = option
        self.section = section

components: Library (Lib)
messages: 151036
nosy: fmitha
priority: normal
severity: normal
status: open
title: ConfigParser exceptions are not pickleable
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list