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 ethan.furman
Recipients czhenry, ethan.furman
Date 2013-05-17.21:10:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368825022.98.0.478679940574.issue18001@psf.upfronthosting.co.za>
In-reply-to
Content
Your interest if fixing Python is appreciated, but you need to verify that a bug actually exists first:

Python 2.7.3 (default, Sep 26 2012, 21:51:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
--> class RawConfigParser:
...     def __init__(self, defaults=None, dict_type=dict):
...         self._dict = dict_type
...         self._sections = self._dict()
...         self._defaults = self._dict()
... 
--> rcp = RawConfigParser()
--> rcp._sections
{}
--> type(rcp._sections)
<type 'dict'>
--> rcp._sections['test'] = 'hello, world!'
--> rcp._sections
{'test': 'hello, world!'}

As you can see, it is indeed callable and does result in a dictionary.
History
Date User Action Args
2013-05-17 21:10:23ethan.furmansetrecipients: + ethan.furman, czhenry
2013-05-17 21:10:22ethan.furmansetmessageid: <1368825022.98.0.478679940574.issue18001@psf.upfronthosting.co.za>
2013-05-17 21:10:22ethan.furmanlinkissue18001 messages
2013-05-17 21:10:22ethan.furmancreate