[pypy-issue] [issue1041] SafeConfigParser not working

Diogo Baeder tracker at bugs.pypy.org
Sat Feb 11 20:40:12 CET 2012


New submission from Diogo Baeder <diogobaeder at yahoo.com.br>:

This is happening when I try to instantiate SafeConfigParser:
    self.__parser = ConfigParser.SafeConfigParser()
  File "/opt/pypy/lib-python/2.7/ConfigParser.py", line 227, in __init__
    self._sections = self._dict()
  File "/opt/pypy/lib-python/2.7/collections.py", line 51, in __init__
    self.__update(*args, **kwds)
TypeError: unbound method update() must be called with MutableMapping instance 
as first argument (got nothing instead)


It was working normally in PyPy 1.6 and 1.7, though. This is a new bug from 
family 1.8.

----------
messages: 3888
nosy: diogobaeder, pypy-issue
priority: bug
status: unread
title: SafeConfigParser not working

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1041>
________________________________________


More information about the pypy-issue mailing list