[issue42627] urllib.request.getproxies() misparses Windows registry proxy settings

狂男风 report at bugs.python.org
Fri May 28 12:26:40 EDT 2021


狂男风 <crazyboyfeng at qq.com> added the comment:

I removed the multi-proxies-per-protocol support from the PR I submitted. The reason is that:

1. This code reads the proxy settings from the Windows registry. Multi-proxies-per-protocol cannot be resolved by Windows system.
2. Using a comma-separated string for the multi-proxies-per-protocol support, is not backward compatible. Not only Windows, but Linux is also one proxy per protocol.

If you want to implement the multi-proxies-per-protocol support, then I think you should open another issue and make changes to all OS platforms.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42627>
_______________________________________


More information about the Python-bugs-list mailing list