Skip to content

Add Python 3.15 urllib.parse updates#15726

Draft
JelleZijlstra wants to merge 2 commits intopython:mainfrom
JelleZijlstra:codex/python315-urllib
Draft

Add Python 3.15 urllib.parse updates#15726
JelleZijlstra wants to merge 2 commits intopython:mainfrom
JelleZijlstra:codex/python315-urllib

Conversation

@JelleZijlstra
Copy link
Copy Markdown
Member

@JelleZijlstra JelleZijlstra commented May 8, 2026

Summary

  • Add Python 3.15 urllib.parse result geturl methods.
  • Model missing_as_none result objects with optional missing components.
  • Add keep_empty keyword support for urlunparse and urlunsplit.
  • Remove corresponding 3.15 stubtest allowlist entries.

Relevant report entries

@github-actions

This comment has been minimized.

@JelleZijlstra
Copy link
Copy Markdown
Member Author

This feels messy but I haven't looked too closely. Maybe we need generics? I'm going to focus on the rest of the stdlib first, but if anyone has strong opinions feel free to take a look.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 9, 2026

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant