Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Feature or enhancement
Allowurllib.request.getproies() to detect SOCKS proxies configured in macOS system settings.
Pitch
urllib.request.getproies() is widely used, for example byrequests, 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 inhttps://docs.python.org/3/library/urllib.request.html#urllib.request.getproxies. It would be nice to have feature parity here.