[issue31129] RawConfigParser.items() is unusual in taking arguments

Guido van Rossum report at bugs.python.org
Mon Aug 7 00:08:53 EDT 2017


Guido van Rossum added the comment:

I think the proposed change is not worth it. Developments in type checking (in particular overloading) make it unambiguous what the return type will be from just a static inspection of the call site. (Given that the _UNSET value is intended to be private.) See also https://github.com/python/mypy/issues/3805#issuecomment-320561797

----------
nosy: +gvanrossum

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


More information about the Python-bugs-list mailing list