[issue28801] configparser: before_get() method of class Interpolation has positional 'parser' parameter that is not used.

Richard Prosser report at bugs.python.org
Fri Nov 25 07:27:50 EST 2016


Richard Prosser added the comment:

Thanks for the prompt reply. I still don't fully understand yet but there aren't any errors reported so I presume that it is OK.

There is another related matter however: PyCharm (2016.2.3) indicates that a get() method signature does not match that of the Mapping class one ...

557
558class RawConfigParser(MutableMapping):

761
762    def get(self, section, option, *, raw=False, vars=None, fallback=_UNSET):


There are other similar cases I believe.

So I am not sure what to make of that, either.

----------
hgrepos: +363

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


More information about the Python-bugs-list mailing list