Skip to content

Remove unused idna dependency - #280

Open
vbanos wants to merge 1 commit into
internetarchive:masterfrom
vbanos:drop-idna
Open

Remove unused idna dependency#280
vbanos wants to merge 1 commit into
internetarchive:masterfrom
vbanos:drop-idna

Conversation

@vbanos

@vbanos vbanos commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

We never import idna. We only use parsed_url.host.encode('idna') once.
That uses Python's stdlib IDNA codec, not the idna dependency.

BTW, note that idna is a dependency of requests.

We never import `idna`. We only use `parsed_url.host.encode('idna')`
once.
That uses Python's stdlib IDNA codec, not the `idna` dependency.

BTW, note that `idna` is a dependency of `requests`.
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