[issue14388] configparser.py traceback

R. David Murray report at bugs.python.org
Thu Mar 22 14:56:26 CET 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Looking at the traceback and your code, configparser is calling 'get', expecting to call its own get method (that takes a 'raw' keyword), but instead is calling the get on your subclass, which doesn't take a 'raw' keyword.  

Since this appears to be example code, probably what you should do to fix this is remove those get methods.  Your 'default' is spelled 'fallback' in Python3.2 configparser and does the same thing your code does.

----------
nosy: +lukasz.langa, r.david.murray
resolution:  -> invalid
status: open -> closed
type: crash -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14388>
_______________________________________


More information about the Python-bugs-list mailing list