[issue32408] Performance regression in urllib.proxy_bypass_environment

Xiang Zhang report at bugs.python.org
Thu Apr 1 02:54:17 EDT 2021


Xiang Zhang <angwerzx at 126.com> added the comment:

I think this issue has already been solved by #39507. The time difference is:

before:

time python3 -c 'import urllib.request; urllib.request.proxy_bypass_environment("1.1.1.1")'

real    0m0.912s
user    0m0.902s
sys     0m0.010s

after:

time python3 -c 'import urllib.request; urllib.request.proxy_bypass_environment("1.1.1.1")'

real    0m0.105s
user    0m0.086s
sys     0m0.019s

----------
nosy: +serhiy.storchaka
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list