Does urllib implement DNS caching?

version: python3.6
because I remember reading in a blog that urllib implemented DNS caching, but now I can"t find the original post.
so I read the source code of urllib"s request.py, especially urllib.request.urlopen () and its internal calling methods, and couldn"t find any code related to DNS caching.
I don"t know if I don"t understand it or the related code is not in request.py, or urllib just doesn"t implement DNS caching. Has anyone studied this problem?

Menu