bpo-44002: Switch to lru_cache in urllib.parse. by gpshead · Pull Request #25798 · python/cpython (original) (raw)
urllib.parse now uses functool.lru_cache for its internal URL splitting and
quoting caches instead of rolling its own like its the 90s.
The undocumented internal Quoted class is now deprecated, for removal in 3.14.
No existing users were found.
clear_cache() is kept as twisted, gevent, and our own regression test runner were
found to be using it in their test suites.
https://bugs.python.org/issue44002
Automerge-Triggered-By: GH:gpshead