Title: Support detecting SOCKS proxy configuration on macOS · Issue #104180 · python/cpython · GitHub
Open Graph Title: Support detecting SOCKS proxy configuration on macOS · Issue #104180 · python/cpython
X Title: Support detecting SOCKS proxy configuration on macOS · Issue #104180 · python/cpython
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 environmen...
Open Graph 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 det...
X 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 det...
Opengraph URL: https://github.com/python/cpython/issues/104180
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support detecting SOCKS proxy configuration on macOS","articleBody":"# Feature or enhancement\r\n\r\nAllow `urllib.request.getproies()` to detect SOCKS proxies configured in macOS system settings.\r\n\r\n# Pitch\r\n\r\n`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.\r\n\r\nI'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.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104181\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/samschott","@type":"Person","name":"samschott"},"datePublished":"2023-05-04T21:40:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/104180/cpython/issues/104180"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ac0381b8-ffbf-329f-5cd4-36371106654f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E378:511EE:7D655A:A8E6D9:69697927 |
| html-safe-nonce | e0e57cf44ded5169b3f94ec278fdb864da07b6e7f84fca5fc7ee55788b5ea6f3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzc4OjUxMUVFOjdENjU1QTpBOEU2RDk6Njk2OTc5MjciLCJ2aXNpdG9yX2lkIjoiNjcyMDExNjE5NjI5MzMxMDc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eac6155660389512653dc74519a2d9159d48215ee845da5e10ec6c86620a7c7c |
| hovercard-subject-tag | issue:1696739742 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/104180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34393ca49252d62fab54aa6d4d2b376b21c2c0f33b114459c158b4fd432b92ff/python/cpython/issues/104180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34393ca49252d62fab54aa6d4d2b376b21c2c0f33b114459c158b4fd432b92ff/python/cpython/issues/104180 |
| og:image:alt | 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 det... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | samschott |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width