-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
OS-macstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
Allow urllib.request.getproies()
to detect SOCKS proxies configured in macOS system settings.
Pitch
urllib.request.getproies()
is widely used, for example by requests
, to detect proxy configurations from environment variables, macOS System Settings or the Windows Systems Registry. On macOS, however, it does not support reading SOCKS proxy configurations. This is supported on Windows, see #26307.
I'm not sure if this is intentional or just an oversight, but the difference is certainly not documented in https://docs.python.org/3/library/urllib.request.html#urllib.request.getproxies. It would be nice to have feature parity here.
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-macstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement