Skip to content

[3.14] gh-52330 Document how a proxy auto-config (PAC) file can be used with urllib.request.ProxyHandler (GH-161729) - #161796

Merged
orsenthil merged 1 commit into
python:3.14from
miss-islington:backport-3cf810d-3.14
Nov 11, 2026
Merged

orsenthil merged 1 commit into
python:3.14from
miss-islington:backport-3cf810d-3.14

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

gh-52330 Document how a proxy auto-config (PAC) file can be used with
urllib.request.ProxyHandler

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
(cherry picked from commit 3cf810d)

Co-authored-by: Senthil Kumaran senthil@python.org

…d with urllib.request.ProxyHandler (pythonGH-161729)

pythongh-52330 Document how a proxy auto-config (PAC) file can be used with
urllib.request.ProxyHandler

We will point to the pypi package pypac which supports PAC discovery and
can be extended as a custom ProxyHandler to be used with urllib.request.

The documentation will point to the pypi package and share high-level
example of using this.
(cherry picked from commit 3cf810d)

Co-authored-by: Senthil Kumaran <senthil@python.org>
@orsenthil orsenthil removed the type-feature A feature request or enhancement label Nov 11, 2026
@orsenthil
orsenthil enabled auto-merge (squash) November 11, 2026 05:28
@orsenthil
orsenthil merged commit 6c6bd4c into python:3.14 Nov 11, 2026
42 of 46 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 11, 2026
@miss-islington
miss-islington deleted the backport-3cf810d-3.14 branch November 11, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants