This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author czhenry
Recipients czhenry
Date 2013-05-17.19:49:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python 2.6 and 2.7 each have a bad definition of the class RawConfigParser
It is immediately apparent in the __init__ function which begins with:

class RawConfigParser:
    def __init__(self, defaults=None, dict_type=dict):
        self._dict = dict_type
        self._sections = self._dict()
        self._defaults = self._dict()

Clearly, _dict() is not a function.  _dict is not even properly defined as a public or private member of the RawConfigParser class.

The fix is to add a private variable to the class and a function for retrieving the value.
Date User Action Args
2013-05-17 19:49:55czhenrysetrecipients: + czhenry
2013-05-17 19:49:55czhenrysetmessageid: <>
2013-05-17 19:49:55czhenrylinkissue18001 messages
2013-05-17 19:49:54czhenrycreate