Skip to content

Conversation

@MonadChains
Copy link
Contributor

This resolves GH-124098 an issue where handler methods that did not start with a protocol name but matched a valid base handler method (e.g., _open() or error()) were mistakenly added to OpenerDirector's handlers.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Sprint 2024 Dec 18, 2025
@encukou encukou merged commit 1c544ac into python:main Dec 18, 2025
47 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sprint 2024 Dec 18, 2025
cocolato pushed a commit to cocolato/cpython that referenced this pull request Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

urllib.request.OpenerDirector.add_handler() matches too broadly

3 participants