[New-bugs-announce] [issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior

John Simon report at bugs.python.org
Wed Aug 3 23:18:47 CEST 2011


New submission from John Simon <john at johnsoft.com>:

The ConfigParser docs say that when __init__ is called with interpolation=None, no interpolation occurs. But when this is done in Python 3.2.1, it actually results in an AttributeError upon getting or setting a value, due to self._interpolation being set to None.

This incredibly simple patch brings the behavior inline with the docs.

----------
components: Library (Lib)
files: patch.txt
messages: 141615
nosy: zildjohn01
priority: normal
severity: normal
status: open
title: ConfigParser.__init__(iterpolation=None) documentation != behavior
type: behavior
Added file: http://bugs.python.org/file22832/patch.txt

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


More information about the New-bugs-announce mailing list