Feature or enhancement
Proposal:
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ (link) has (self, *args, **kwargs), but the args are just passed through to super, and the superclass for HTTPPasswordMgrWithPriorAuth takes no arguments. The passthrough doesn't serve a purpose and it muddies introspection of the method. I'd like to update urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ to have no arguments, so that signature introspection is more accurate. Currently, typeshed needs to have urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ on its allowlist for stubtest errors as a result of the poor introspection.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__(link) has(self, *args, **kwargs), but the args are just passed through to super, and the superclass forHTTPPasswordMgrWithPriorAuthtakes no arguments. The passthrough doesn't serve a purpose and it muddies introspection of the method. I'd like to updateurllib.request.HTTPPasswordMgrWithPriorAuth.__init__to have no arguments, so that signature introspection is more accurate. Currently, typeshed needs to haveurllib.request.HTTPPasswordMgrWithPriorAuth.__init__on its allowlist for stubtest errors as a result of the poor introspection.Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__#127735urllib.request.HTTPPasswordMgrWithPriorAuth.__init__(GH-127735) #127744urllib.request.HTTPPasswordMgrWithPriorAuth.__init__(GH-127735) #127745