Message189486
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. |
|
Date |
User |
Action |
Args |
2013-05-17 21:10:23 | ethan.furman | set | recipients:
+ ethan.furman, czhenry |
2013-05-17 21:10:22 | ethan.furman | set | messageid: <1368825022.98.0.478679940574.issue18001@psf.upfronthosting.co.za> |
2013-05-17 21:10:22 | ethan.furman | link | issue18001 messages |
2013-05-17 21:10:22 | ethan.furman | create | |
|