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

2017-08-14 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think this is worth it. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

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

2017-08-14 Thread Daniel Watkins
Daniel Watkins added the comment: Having ironed out my confusion over typing the method, I agree that making the types more obvious is not a compelling argument for this change. That said, I think the current API has been confusing to me in the past, and I think the proposed change is still a wo

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

2017-08-06 Thread Guido van Rossum
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.) S

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

2017-08-06 Thread Daniel Watkins
Changes by Daniel Watkins : -- pull_requests: +3045 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2017-08-06 Thread R. David Murray
Changes by R. David Murray : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2017-08-06 Thread R. David Murray
R. David Murray added the comment: For backward compatibility reasons this will not be changed. I don't know if the idea of adding a method and doing a documentation deprecation is worth it or not. -- nosy: +lukasz.langa, r.david.murray ___ Python

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

2017-08-06 Thread Daniel Watkins
New submission from Daniel Watkins: A grep through the codebase shows that RawConfigParser.items() is the only .items() method in the stdlib which accepts arguments. This is annoying as a stdlib user because when I see the arguments being passed to RawConfigParser.items(), I have _no idea_ wha